Commit 44ccc9c
ci: post reviews to the PR + drop debug log flag (#6)
* ci: let review agent read the plugin cache (fixes code-review skill)
The requesting-code-review skill reads code-reviewer.md from the plugin
cache (~/.claude/plugins), which claude-code-action's repo-only sandbox
blocks. Grant read access via project settings (settingSources: project),
loaded without touching the workflow file. Track the shared settings file
via a .gitignore negation instead of force-add.
Verified: review ran full (21 turns, is_error:false) on this branch.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: allow the agent App bot to trigger PR review
Agents push feature branches as claude-agent-ahrzb (App identity), which
claude-code-action blocks by default. Scope allowed_bots to that bot only
(not '*') so only our agents' pushes trigger a review.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: drop show_full_output debug flag from review workflow
Public repo — show_full_output publishes the review agent's full transcript
to public Actions logs. It was a temporary capture flag; remove it so the
merge to master also clears it there.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: post the review to the PR (track_progress + sticky comment)
The review agent produced its findings as final text but never called a
GitHub comment tool, and every auto-post flag was off, so nothing landed on
the PR. track_progress posts the report as a tracking comment;
use_sticky_comment keeps it to one comment per PR across pushes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: actually post the review — grant comment tools + instruct posting
track_progress alone was not enough. Per Anthropic's canonical
pr-review-comprehensive.yml example, the agent needs the comment tools
granted in --allowedTools (mcp__github_inline_comment + gh pr comment) and
an explicit instruction to post; otherwise it reviews and exits without
writing anything to the PR. Drop use_sticky_comment (not in the recipe).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent ff4beac commit 44ccc9c
1 file changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | | - | |
37 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | | - | |
| 49 | + | |
| 50 | + | |
0 commit comments