mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
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:
|
||||
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…
Reference in New Issue
Block a user