Skip to content

Commit a07f2c9

Browse files
committed
Fix workflow concurrency
1 parent fd18632 commit a07f2c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- cron: 45 13 * * 6
1212

1313
concurrency:
14-
group: ${{ github.workflow }}-${{ github.ref }}
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1515
cancel-in-progress: true
1616

1717
jobs:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- master
1010

1111
concurrency:
12-
group: ${{ github.workflow }}-${{ github.ref }}
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1313
cancel-in-progress: true
1414

1515
jobs:

0 commit comments

Comments
 (0)