mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-22 22:12:28 -05:00
ci: limit push builds to primary and hotfix branches
This commit is contained in:
parent
cfbc024442
commit
19450906e6
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci-cd.yml
vendored
5
.github/workflows/ci-cd.yml
vendored
|
@ -1,9 +1,10 @@
|
||||||
name: CI/CD
|
name: CI/CD
|
||||||
|
|
||||||
on:
|
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
|
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:
|
concurrency:
|
||||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||||
|
|
Loading…
Reference in a new issue