Skip to content

Commit fa823ff

Browse files
Don't hardcode branch in setting
1 parent 68f188a commit fa823ff

15 files changed

+15
-15
lines changed

.github/workflows/humble-abi-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
concurrency:
99
# cancel previous runs of the same workflow, except for pushes on humble branch
1010
group: ${{ github.workflow }}-${{ github.ref }}
11-
cancel-in-progress: ${{ github.ref != 'humble' }}
11+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
1212

1313
jobs:
1414
abi_check:

.github/workflows/humble-binary-build-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
concurrency:
2020
# cancel previous runs of the same workflow, except for pushes on humble branch
2121
group: ${{ github.workflow }}-${{ github.ref }}
22-
cancel-in-progress: ${{ github.ref != 'humble' }}
22+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
2323

2424
jobs:
2525
binary-windows:

.github/workflows/humble-binary-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
concurrency:
1818
# cancel previous runs of the same workflow, except for pushes on humble branch
1919
group: ${{ github.workflow }}-${{ github.ref }}
20-
cancel-in-progress: ${{ github.ref != 'humble' }}
20+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
2121

2222
jobs:
2323
binary:

.github/workflows/humble-binary-downstream-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
concurrency:
1515
# cancel previous runs of the same workflow, except for pushes on humble branch
1616
group: ${{ github.workflow }}-${{ github.ref }}
17-
cancel-in-progress: ${{ github.ref != 'humble' }}
17+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
1818

1919
jobs:
2020
build-downstream:

.github/workflows/humble-coverage-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
concurrency:
1212
# cancel previous runs of the same workflow, except for pushes on humble branch
1313
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: ${{ github.ref != 'humble' }}
14+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
1515

1616
jobs:
1717
coverage:

.github/workflows/humble-debian-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
concurrency:
1212
# cancel previous runs of the same workflow, except for pushes on humble branch
1313
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: ${{ github.ref != 'humble' }}
14+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
1515

1616
jobs:
1717
debian_source_build:

.github/workflows/humble-rhel-semi-binary-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
concurrency:
1212
# cancel previous runs of the same workflow, except for pushes on humble branch
1313
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: ${{ github.ref != 'humble' }}
14+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
1515

1616
jobs:
1717
rhel_semi_binary_build:

.github/workflows/rolling-abi-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
concurrency:
99
# cancel previous runs of the same workflow, except for pushes on master branch
1010
group: ${{ github.workflow }}-${{ github.ref }}
11-
cancel-in-progress: ${{ github.ref != 'master' }}
11+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
1212

1313
jobs:
1414
abi_check:

.github/workflows/rolling-binary-build-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
concurrency:
2020
# cancel previous runs of the same workflow, except for pushes on master branch
2121
group: ${{ github.workflow }}-${{ github.ref }}
22-
cancel-in-progress: ${{ github.ref != 'master' }}
22+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
2323

2424
jobs:
2525
binary-windows:

.github/workflows/rolling-binary-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
concurrency:
1818
# cancel previous runs of the same workflow, except for pushes on master branch
1919
group: ${{ github.workflow }}-${{ github.ref }}
20-
cancel-in-progress: ${{ github.ref != 'master' }}
20+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
2121

2222
jobs:
2323
binary:

0 commit comments

Comments
 (0)