Skip to content

Commit 770023d

Browse files
authored
Serialize release workflow to prevent major-tag race conditions (#1266)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent b70f761 commit 770023d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ on:
2222
permissions:
2323
contents: write
2424

25+
# Serialize all release runs to prevent race conditions when force-updating major version tags.
26+
# Without this, concurrent releases could race on updating the same floating major tag (e.g., v0).
27+
# cancel-in-progress: false ensures each release completes rather than being cancelled.
28+
concurrency:
29+
group: release
30+
cancel-in-progress: false
31+
2532
jobs:
2633
release:
2734
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)