GitHub Actions & circleci: How to trigger for a different branch

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

# Circle CI will build master and all PRs anyway, we just need to trigger non-default branches
name: Trigger CircleCI Build on Beta and Release Branch

   - beta
   - release

    runs-on: ubuntu-latest

      - name: Trigger CircleCI
        id: trigger-circle-ci
        uses: CircleCI-Public/trigger-circleci-pipeline-action@v1.0
          CCI_TOKEN: ${{ secrets.CIRCLE_TOKEN }}

should trigger CircleCI for the Branch the GitHub Action was triggered for

Describe the solution you’d like

  • The action should have an option “current-branch:true” ajd determine the branch from the GItHub Event
  • Optional Parameter for the Action to set a branch manually

Teachability, documentation, adoption, migration strategy

What is the motivation / use case for changing the behavior?

Make GitHub Action & Circle CI Integration smooth

There seems to be a PR already fix: trigger pipeline for non main branches by mattlewis92 · Pull Request #11 · CircleCI-Public/trigger-circleci-pipeline-action · GitHub

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.