Skip to content

Commit 2917ac2

Browse files
Add concurrency groups to cancel redundant workflow runs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 91819b2 commit 2917ac2

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/deploy-k3s.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches: [master]
99
workflow_dispatch:
1010

11+
concurrency:
12+
group: deploy-k3s
13+
cancel-in-progress: true
14+
1115
jobs:
1216
deploy:
1317
runs-on: self-hosted

.github/workflows/deploy-lambda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
branches: [master]
1616
workflow_dispatch:
1717

18+
concurrency:
19+
group: deploy-lambda
20+
cancel-in-progress: true
21+
1822
env:
1923
AWS_REGION: eu-west-1
2024

.github/workflows/terraform.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
- ".github/workflows/terraform.yml"
2525
workflow_dispatch:
2626

27+
concurrency:
28+
group: terraform
29+
cancel-in-progress: true
30+
2731
permissions:
2832
contents: read
2933
pull-requests: write

0 commit comments

Comments
 (0)