title: How to run a GitHub Action from a branch other than master?
body: <p>I have a repository in GitHub and I want to create an Action to build a Docker image and push it to the DockerHub. I know how to do it but if I create the action in a branch other than master, GitHub does not run it.</p>
  <p>This is a known problem (<a href="https://github.community/t/workflow-files-only-picked-up-from-master/16129" rel="noreferrer">Workflow files only picked up from master?</a>).</p>
  <p>Any ideas to fix it?</p>