mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
ci: Use concurrency for pull requests only
Otherwise, any previously pending workflow will be canceled on the following push.
This commit is contained in:
parent
38db2bd4e1
commit
e7d67efd13
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -14,8 +14,8 @@ on:
|
||||
- '**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
group: ${{ github.event_name != 'pull_request' && github.run_id || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DANGER_RUN_CI_ON_HOST: 1
|
||||
|
Loading…
Reference in New Issue
Block a user