Change concurrency for GH workflows to prevent conflicts between PRs (#22018)

Closes #22001
This commit is contained in:
Stian Thorgersen 2023-07-27 06:26:03 +02:00 committed by GitHub
parent 442e6214b3
commit 17d211319b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: