Skip to content

Commit db237e0

Browse files
committed
only run on most current push.
1 parent bdf7e62 commit db237e0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/anchore.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
permissions:
2424
contents: read
2525

26+
concurrency:
27+
group: ${{ github.workflow }}-${{ github.ref }}
28+
cancel-in-progress: true
29+
2630
jobs:
2731
Anchore-Build-Scan:
2832
permissions:

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ on:
2121
schedule:
2222
- cron: '28 17 * * 1'
2323

24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.ref }}
26+
cancel-in-progress: true
27+
2428
jobs:
2529
analyze:
2630
name: Analyze

0 commit comments

Comments
 (0)