cicd: don't cancel runs on master by concurrency condition
This commit is contained in:
parent
9ccfd648c9
commit
4a723c985d
1 changed files with 7 additions and 1 deletions
8
.github/workflows/CICD.yml
vendored
8
.github/workflows/CICD.yml
vendored
|
|
@ -9,7 +9,13 @@ on:
|
|||
- check/*
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
group: >
|
||||
${{ github.workflow }} @ ${{
|
||||
github.ref == 'refs/heads/master' && github.ref_name || ''
|
||||
}}${{
|
||||
github.ref == 'refs/heads/master' && github.sha
|
||||
|| github.event.pull_request.head.label || github.head_ref || github.ref
|
||||
}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue