Skip to content

Commit 634f56a

Browse files
kkraus14cryos
andauthored
Add concurrency groups and cancel in progress
Co-authored-by: Marcus D. Hanwell <[email protected]>
1 parent b8d0441 commit 634f56a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/bandit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- "pull-request/[0-9]+"
77
- "main"
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
10+
cancel-in-progress: true
811

912
jobs:
1013
analyze:

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- "pull-request/[0-9]+"
77
- "main"
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
10+
cancel-in-progress: true
811

912
jobs:
1013
analyze:

0 commit comments

Comments
 (0)