Cancel in-progress workflow runs after a push
This commit is contained in:
parent
fa06a371b7
commit
3c2b8b06fc
2 changed files with 7 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -30,6 +30,9 @@ permissions:
|
|||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
pr:
|
||||
permissions:
|
||||
|
|
|
@ -305,6 +305,10 @@ defaults:
|
|||
# shell is PowerShell.)
|
||||
shell: bash
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
pr:
|
||||
permissions:
|
||||
|
|
Loading…
Add table
Reference in a new issue