docs: scope README Release badge to push events#191
Conversation
The badge SVG URL lacked an event filter, so GitHub resolved it against the most-recent workflow run — a cancelled workflow_dispatch on main — and rendered "release - failing". Adding ?event=push scopes it to tag-push release runs, which are passing. Fixes openclaw#189. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Codex review: needs maintainer review before merge. Reviewed May 31, 2026, 5:30 AM ET / 09:30 UTC. Summary Reproducibility: not applicable. for a docs PR, but the behavior being fixed is well demonstrated by the PR body's before/after badge URL output. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Merge the focused README badge fix with the maintainer-owned release note once normal checks and maintainer review are satisfied. Do we have a high-confidence way to reproduce the issue? Not applicable for a docs PR, but the behavior being fixed is well demonstrated by the PR body's before/after badge URL output. Is this the best way to solve the issue? Yes. Adding AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 9a42efcdaefc. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
The README Release badge rendered red ("release - failing") even though the release flow works. The badge SVG URL had no event filter, so GitHub resolved it against the most-recent workflow run — a cancelled
workflow_dispatchrun onmain— instead of the successful tag-push release runs. The CI badge on the line above is already scoped with?branch=main.This scopes the Release badge to
?event=pushso it reflects tag-push release status. Only the badge SVG URL changes; the link target and the release workflow are untouched.Verification
Closes #189
🤖 Generated with Claude Code