Merge pull request #2921 from dundargoc/ci/concurrency
ci: simplify concurrency
This commit is contained in:
commit
887d48ab4a
1 changed files with 3 additions and 9 deletions
12
.github/workflows/CICD.yml
vendored
12
.github/workflows/CICD.yml
vendored
|
|
@ -9,17 +9,11 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
push:
|
||||
branches-ignore:
|
||||
- release/v*
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
concurrency:
|
||||
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
|
||||
}}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue