Skip to content

Commit 8c6bba7

Browse files
committed
GHA: Auto-cancel earlier runs
1 parent f31e2cd commit 8c6bba7

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
schedule:
99
- cron: '0 0 * * 5'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
analyze:
1317
name: Analyze

.github/workflows/deps-review.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: 'Dependency Review'
22
on: [pull_request]
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
48
permissions:
59
contents: read
610

0 commit comments

Comments
 (0)