Skip to content

Commit 48cd357

Browse files
arwinclaude
andcommitted
ci: cancel in-progress release runs for the same tag
Prevents duplicate release creation when a tag is force-pushed while a build is still running. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fa29eb1 commit 48cd357

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Build and Release
33
on:
44
push:
55
tags:
6+
7+
concurrency:
8+
group: release-${{ github.ref_name }}
9+
cancel-in-progress: true
610
- 'v*'
711

812
jobs:

0 commit comments

Comments
 (0)