CI: Cancel previous runs for pull requests automatically (#4512)
This commit is contained in:
parent
429cb1f7f7
commit
d64c023099
|
@ -23,6 +23,10 @@ defaults:
|
|||
shell: bash
|
||||
working-directory: repo
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
|
|
@ -22,6 +22,10 @@ defaults:
|
|||
run:
|
||||
working-directory: repo
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
windows:
|
||||
|
|
Loading…
Reference in New Issue