File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ jobs:
3131 plugin_marketplaces : ' https://github.com/anthropics/claude-code.git'
3232 plugins : ' code-review@claude-code-plugins'
3333
34- # IMPORTANT: allow exactly what the review flow uses
3534 claude_args : >
3635 --allowedTools
3736 "Bash(gh pr view:*)"
3837 "Bash(gh pr diff:*)"
38+ "Bash(gh pr comment:*)"
3939 "Bash(gh api:*)"
4040 "Bash(gh search code:*)"
4141 "Bash(cat:*)"
4646
4747 prompt : |
4848 /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}
49- Post the results as one top-level PR comment titled "Claude Code Review".
50- If you cannot access the diff/files, say so explicitly and explain what is blocking access.
49+
50+ Post the results as ONE top-level PR comment titled "Claude Code Review".
51+
52+ Output requirements (even if no issues):
53+ - Start with: files changed count + list up to 15 changed file paths
54+ - Then: a short summary of what the PR changes (3–6 bullets)
55+ - Then: findings:
56+ - If issues: list them with file path + line numbers when possible
57+ - If no issues: list at least 3 concrete "improvement opportunities" with file paths
58+
59+ If you cannot access the diff/files, say exactly what is blocked.
60+ If posting a PR comment is blocked, write the full review to the GitHub Actions job summary instead.
5161
5262 additional_permissions : |
5363 actions: read
You can’t perform that action at this time.
0 commit comments