Commit 6a78a0b
authored
fix: prevent duplicate release PRs with concurrency group (#397)
Add concurrency control to release-plz workflow to prevent race condition
where merging a release PR triggers another workflow run that creates a
duplicate release PR before the first run completes publishing.
The race happens because:
1. Merge release PR -> triggers release-plz run
2. Main branch update -> triggers another release-plz run
3. Second run checks state before first completes
4. Creates duplicate PR for same version
Solution: Only allow one release-plz run at a time with cancel-in-progress: false
to ensure the first run completes before the next one starts.1 parent abd180f commit 6a78a0b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments