Skip to content

Commit a4e3145

Browse files
stackptrclaude
andcommitted
fix: use per-host deploy concurrency groups to prevent cancellation
Move concurrency from workflow-level to job-level with per-host groups. Workflow-level concurrency only allows one pending run, canceling earlier queued runs when a new one arrives. Per-host groups let each host queue independently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 748f1d4 commit a4e3145

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ on:
77
branches: [main]
88
workflow_dispatch:
99

10-
concurrency:
11-
group: deploy
12-
cancel-in-progress: false
13-
1410
jobs:
1511
deploy:
1612
if: >-
1713
github.event_name == 'workflow_dispatch' ||
1814
github.event.workflow_run.conclusion == 'success'
15+
concurrency:
16+
group: deploy-${{ matrix.host }}
17+
cancel-in-progress: false
1918
strategy:
2019
matrix:
2120
include:

0 commit comments

Comments
 (0)