Skip to content

Commit

Permalink
CI concurrency improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
msmygit committed Dec 1, 2023
1 parent 83ac69d commit d67c681
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cdm-integrationtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
CDM-Integration-Test:
concurrency:
group: ${{ github.ref }}-${{ github.job }}-${{ matrix.jdk }}-${{ matrix.os }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job || github.run_id }}-${{ matrix.jdk }}-${{ matrix.os }}
cancel-in-progress: true
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
build:
concurrency:
group: ${{ github.ref }}-${{ github.job }}-${{ matrix.jdk }}-${{ matrix.os }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job || github.run_id }}-${{ matrix.jdk }}-${{ matrix.os }}
cancel-in-progress: true

strategy:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/snyk-cli-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@ on:
branches: [ main ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job || github.run_id }}
cancel-in-progress: true

env:
SNYK_SEVERITY_THRESHOLD_LEVEL: critical

3 changes: 3 additions & 0 deletions .github/workflows/snyk-pr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ on:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job || github.run_id }}
cancel-in-progress: true

0 comments on commit d67c681

Please sign in to comment.