Skip to content

Commit 73401b9

Browse files
authored
CI concurrency improvements (#224)
1 parent 83ac69d commit 73401b9

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.github/workflows/cdm-integrationtest.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ on:
55
push:
66
branches:
77
- main
8+
9+
concurrency:
10+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
11+
cancel-in-progress: true
12+
813
jobs:
914
CDM-Integration-Test:
10-
concurrency:
11-
group: ${{ github.ref }}-${{ github.job }}-${{ matrix.jdk }}-${{ matrix.os }}
12-
cancel-in-progress: true
1315
strategy:
1416
matrix:
1517
jdk: [ 8 ]

.github/workflows/maven.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ on:
1515
branches:
1616
- main
1717

18+
concurrency:
19+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
20+
cancel-in-progress: true
21+
1822
jobs:
1923
build:
20-
concurrency:
21-
group: ${{ github.ref }}-${{ github.job }}-${{ matrix.jdk }}-${{ matrix.os }}
22-
cancel-in-progress: true
23-
2424
strategy:
2525
matrix:
2626
jdk: [ 8 ]

.github/workflows/snyk-cli-scan.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@ on:
1010
branches: [ main ]
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
15+
#group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job || github.run_id }}
16+
cancel-in-progress: true
17+
1318
env:
1419
SNYK_SEVERITY_THRESHOLD_LEVEL: critical
20+

.github/workflows/snyk-pr-cleanup.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ on:
99
- main
1010
workflow_dispatch:
1111

12+
concurrency:
13+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
14+
#group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job || github.run_id }}
15+
cancel-in-progress: true
16+

0 commit comments

Comments
 (0)