Skip to content

Commit 3021d1a

Browse files
committed
fix concurrency
Signed-off-by: Appu Goundan <[email protected]>
1 parent 0268f99 commit 3021d1a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# On main/release, we don't want any jobs cancelled
2727
# On PR branches, we cancel the job if new commits are pushed
2828
# More info: https://stackoverflow.com/a/70972844/1261287
29-
group: ${{ github.workflow }}-${{ github.github.ref }}-${{ matrix.java-version }}
29+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}-${{ matrix.java-version }}
3030
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
3131

3232
runs-on: ubuntu-latest

.github/workflows/conformance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# On main/release, we don't want any jobs cancelled
2020
# On PR branches, we cancel the job if new commits are pushed
2121
# More info: https://stackoverflow.com/a/70972844/1261287
22-
group: ${{ github.workflow }}-${{ github.github.ref }}-${{ matrix.java-version }}
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}-${{ matrix.java-version }}-${{ matrix.sigstore-env }}
2323
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2424

2525
runs-on: ubuntu-latest

.github/workflows/tuf-conformance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# On main/release, we don't want any jobs cancelled
2020
# On PR branches, we cancel the job if new commits are pushed
2121
# More info: https://stackoverflow.com/a/70972844/1261287
22-
group: ${{ github.workflow }}-${{ github.github.ref }}-${{ matrix.java-version }}
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}-${{ matrix.java-version }}
2323
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2424

2525
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)