Skip to content

Commit 53d4ab3

Browse files
committed
GHA: set/adjust concurrency for zizmor 1.16.0 [ci skip]
1 parent 658290a commit 53d4ab3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ name: 'CodeQL'
1616
- cron: '0 0 * * 4'
1717

1818
concurrency:
19-
group: ${{ github.workflow }}
19+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
20+
cancel-in-progress: true
2021

2122
permissions: {}
2223

.github/workflows/daily.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ name: daily
88
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
99
- cron: '29 20 * * *'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.sha }}
13+
cancel-in-progress: true
14+
1115
permissions: {}
1216

1317
env:

0 commit comments

Comments
 (0)