Skip to content

Commit e712cbe

Browse files
ferr079claude
andcommitted
fix(ci): add concurrency to prevent deploy race conditions
Two simultaneous pushes (local + Forgejo mirror) can trigger parallel workflow runs. The older commit's run finishing last overwrites the correct deploy. cancel-in-progress ensures only the latest wins. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a2c555f commit e712cbe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [main]
66

7+
concurrency:
8+
group: deploy
9+
cancel-in-progress: true
10+
711
jobs:
812
deploy:
913
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)