Skip to content

Commit c47bd91

Browse files
authored
fix: actions cancelling on push to master (#4578)
1 parent 72d63ea commit c47bd91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/builds.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010
pull_request:
1111
concurrency:
12-
group: ${{ github.workflow }}-${{ github.head_ref }}
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
1313
cancel-in-progress: true
1414
env:
1515
arch_amd64: amd64

.github/workflows/tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "release/*"
88
pull_request:
99
concurrency:
10-
group: ${{ github.workflow }}-${{ github.head_ref }}
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
1111
cancel-in-progress: true
1212
jobs:
1313
integration:

.github/workflows/verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- main
99
pull_request:
1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.head_ref }}
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
1212
cancel-in-progress: true
1313
jobs:
1414
generate:

0 commit comments

Comments
 (0)