Cancel in-progress workflow runs after a push
This commit is contained in:
parent
fa06a371b7
commit
3c2b8b06fc
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -30,6 +30,9 @@ permissions:
|
|||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
concurrency:
|
||||||
|
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
|
||||||
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
pr:
|
pr:
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -305,6 +305,10 @@ defaults:
|
|||||||
# shell is PowerShell.)
|
# shell is PowerShell.)
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pr:
|
pr:
|
||||||
permissions:
|
permissions:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user