Commit 7939feb
fix: verify CI passed before tagging a release (#92)
* fix: verify CI passed before tagging a release
release.sh now checks GitHub commit status and check-runs on HEAD
before creating the tag. Blocks the release if tests failed; prompts
if status is pending/unknown.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: check failure before pending in CI status check
When a repo uses only GitHub Actions (check-runs) and not commit
statuses, the status API returns "pending" by default. Checking
pending first would prompt unnecessarily even when all check-runs
passed. Check failure first so the pending branch only triggers
when status is genuinely unknown.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0fd2ed8 commit 7939feb
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
73 | 93 | | |
74 | 94 | | |
75 | 95 | | |
| |||
0 commit comments