Skip to content

Commit 1b0a5aa

Browse files
committed
Concurrency control to deploy and sonar workflows
1 parent db1fc59 commit 1b0a5aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- "Dockerfile"
1010
- ".github/workflows/deploy.yml"
1111
workflow_dispatch:
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
1215
jobs:
1316
scan:
1417
uses: ./.github/workflows/scan.yml

.github/workflows/sonar.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
- "Tests/**"
1717
- ".github/workflows/sonar.yml"
1818
workflow_dispatch:
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
1922
jobs:
2023
sonarcloud:
2124
runs-on: windows-latest

0 commit comments

Comments
 (0)