title: Github Actions: how to run a workflow created on a non-master branch from the workflow_dispatch event?
body: <p>Can someone help me understand the behaviour of the Github Actions tab? As somebody new to Actions working on a third party repo I would like to be able to create an action on a branch and execute it on the <em>workflow_dispatch</em> event.  I have not succeeded in doing this but I have discovered the following:</p>
  <ul>
  <li>The Action tab will change the branch where it finds workflows and action code based on the branch relating to the last executed workflow.  e.g. if some workflow is executed from the Action tab using the <em>Run Workflow</em> button and the <em>Use Workflow From</em> dropdown is set to some branch, Branch-A, then the contents of the <em>Workflows</em> panel on the left hand side of the Actions tab will be taken from Branch-A's version of <em>.github/</em>.</li>
  <li>The <em>This workflow has a workflow_dispatch event trigger.</em> text does not change with the branch. It seems to be taken from <em>master</em>. Alternatively, it may be being taken from the last set of results. I have not tested for that because either way it is not helpful behaviour.</li>
  </ul>
  <p>The workaround is the execute on a push event which is OK but that seems out of kilter with Github's high standards of design.</p>
  <p>Does the above sound a) about right and b) whichever way you look at it, not optimal behaviour? Or, is there a better approach to building and testing actions?</p>