Commit 89d1671
fix: skip tag step when no bump PR was opened
When the dispatched version is already on develop, bump-version.sh is
a no-op and peter-evans sets pull-request-operation=none with
pull-request-head-sha pointing at develop's existing HEAD. The tag
step then tried to create refs/tags/vX.Y.Z at that already-tagged
commit and failed with 422 "Reference already exists". Gate the tag
step on a PR actually being created/updated so no-op dispatches
exit cleanly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 806ec96 commit 89d1671
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments