Skip to content

Commit 4915a6b

Browse files
committed
CI: improved in-progress job canceling
1 parent faa7cc3 commit 4915a6b

14 files changed

+14
-14
lines changed

.github/workflows/cifuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
name: CIFuzz
55
concurrency:
6-
group: ${{ github.workflow }}-${{ github.ref }}
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
77
cancel-in-progress: true
88
on:
99
pull_request:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
name: "CodeQL"
77

88
concurrency:
9-
group: ${{ github.workflow }}-${{ github.ref }}
9+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1010
cancel-in-progress: true
1111

1212
on:

.github/workflows/nightly_Linux_distributions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- cron: 0 4 * * *
88

99
concurrency:
10-
group: ${{ github.workflow }}-${{ github.ref }}
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1111
cancel-in-progress: true
1212

1313
name: Nightly - Linux distributions

.github/workflows/on_PR_linux_fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name: On PRs - Linux-Ubuntu Quick Fuzz
66

77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
8+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
99
cancel-in-progress: true
1010

1111
on:

.github/workflows/on_PR_linux_matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: On PRs - Linux-Ubuntu Matrix
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.ref }}
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

77
on:

.github/workflows/on_PR_linux_special_builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: On PRs - Linux Special Builds
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.ref }}
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

77
on:

.github/workflows/on_PR_linux_staticAnalysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: On PRs - Linux - Static Analysis
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.ref }}
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

77
on:

.github/workflows/on_PR_mac_matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: On PRs - Mac Matrix
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.ref }}
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

77
on:

.github/workflows/on_PR_mac_special_builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: On PRs - Mac Special Builds
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.ref }}
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

77
on:

.github/workflows/on_PR_windows_matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: On PRs - Windows Matrix
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.ref }}
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

77
on:

0 commit comments

Comments
 (0)