ci: limit push builds to primary and hotfix branches

This commit is contained in:
Christopher Willis-Ford 2023-10-02 18:13:12 -07:00
parent cfbc024442
commit 19450906e6

View file

@ -1,9 +1,10 @@
name: CI/CD
on:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
pull_request: # Runs whenever a pull request is created or updated
push: # Runs whenever a commit is pushed to the repository
push: # Runs whenever a commit is pushed to the repository...
branches: [main, develop, hotfix/*] # ...on any of these branches
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'