ci: always post Claude review summary#30
Conversation
|
Thank you for raising your pull request and contributing to voscript. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30 +/- ##
=======================================
Coverage 91.18% 91.18%
=======================================
Files 76 76
Lines 3016 3016
=======================================
Hits 2750 2750
Misses 266 266
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Claude Code ReviewClaude Code Review completed for This summary is posted even when Claude has no line-level findings. If no separate Claude inline comments are visible, there were no actionable line-level findings for this run. Run: https://github.com/MapleEve/VoScript/actions/runs/25478422844 |
|
❤️ Great PR @MapleEve ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! |
There was a problem hiding this comment.
Pull request overview
Updates the Claude Code Review GitHub Actions workflow to always post/update a single PR-level “Claude Code Review” summary comment, while keeping the overall check failing when the Claude review step fails.
Changes:
- Adds an always-run step that posts or updates a PR comment containing a run summary (keyed by an HTML marker).
- Makes the Claude review step
continue-on-errorand adds a final explicit failure step based onsteps.claude-review.outcome. - Expands workflow permissions to allow writing issue comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| id-token: write | ||
| pull-requests: write | ||
| issues: read | ||
| issues: write |
|
|
||
| comment_id="$( | ||
| gh api "repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/comments" --paginate \ | ||
| --jq ".[] | select(.body | contains(\"$MARKER\")) | .id" | tail -n 1 |
Summary
Verification