title: How do I trigger a scheduled action on a specific branch?
body: <p>I've made an action. I'd like for this to run on branch <code>foo</code> at a schedule(in my case, twice a day).</p>
  <p>Here's what I've got so far:</p>
  <p><code>repo/.github/workflows/daily-foo-tests.yml</code></p>
  <pre><code>name: Run integration tests on foo branch twice a day
  on:
    schedule:
      # Execute at 00:01 and 13:01 UTC daily
      - cron:  '00 01,13 * * *'
  
  jobs:
    build:
      name: Run UI Automation
      runs-on: [self-hosted, macOS, X64]
      steps:
        - uses: actions/checkout@v2
        - name: dotnet build
          with: { ref: foo }
          // continues to do stuff, not important
  </code></pre>
  <p>Now, this action has been pushed to said <code>foo</code> branch. However, going to <code>github.com/org/repo/actions</code>, it does not trigger(I've waited 24 hours now; it should've done something at this point).</p>
  <p>What is the correct way to trigger a scheduled github action workflow on a specified branch?</p>