Skip to content

Commit 7c6d7ab

Browse files
committed
Add concurrency to workflows
1 parent 2103f69 commit 7c6d7ab

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/codeql-analysis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
# The branches below must be a subset of the branches above
1919
branches: [ "master" ]
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
2125
jobs:
2226
analyze:
2327
name: Analyze

.github/workflows/maven.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches:
99
- master
1010

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

0 commit comments

Comments
 (0)