Change concurrency for GH workflows to prevent conflicts between PRs (#22018)
Closes #22001
This commit is contained in:
parent
442e6214b3
commit
17d211319b
6 changed files with 6 additions and 6 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -13,7 +13,7 @@ env:
|
|||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: ci-${{ github.head_ref || github.run_id }}
|
||||
group: ci-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -11,7 +11,7 @@ on:
|
|||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: codeql-analysis-${{ github.head_ref || github.run_id }}
|
||||
group: codeql-analysis-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
|
|
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
|||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: documentation-${{ github.head_ref || github.run_id }}
|
||||
group: documentation-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
|
|
2
.github/workflows/guides.yml
vendored
2
.github/workflows/guides.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
|||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: guides-${{ github.head_ref || github.run_id }}
|
||||
group: guides-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
|
|
2
.github/workflows/js-ci.yml
vendored
2
.github/workflows/js-ci.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
|||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: js-ci-${{ github.head_ref || github.run_id }}
|
||||
group: js-ci-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
|
|
2
.github/workflows/operator-ci.yml
vendored
2
.github/workflows/operator-ci.yml
vendored
|
@ -18,7 +18,7 @@ defaults:
|
|||
|
||||
concurrency:
|
||||
# Only cancel jobs for PR updates
|
||||
group: operator-ci-${{ github.head_ref || github.run_id }}
|
||||
group: operator-ci-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
Loading…
Reference in a new issue