Skip to content

Commit dd748a3

Browse files
committed
fix(ci): add Write to allowedTools and use body-file for PR comments
1 parent 758e61c commit dd748a3

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/claude-review.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ jobs:
4545
4646
Be concise and actionable. Only comment on meaningful issues, not style nitpicks already covered by linters.
4747
48-
IMPORTANT: After completing your review, you MUST post your findings as a PR comment using:
49-
gh pr comment $PR_NUMBER --body "YOUR_REVIEW_HERE"
50-
51-
The PR number is available via: gh pr list --state open --json number --jq '.[0].number'
52-
claude_args: '--model MiniMax-M2.5 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch"'
48+
IMPORTANT: After completing your review, you MUST post your findings as a PR comment.
49+
Steps to post: 1) Write review to /tmp/review.md using the Write tool, 2) Run: gh pr comment $PR_NUMBER --body-file /tmp/review.md
50+
Get the PR number first via: gh pr list --state open --json number --jq '.[0].number'
51+
claude_args: '--model MiniMax-M2.5 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Write"'
5352

5453
interactive:
5554
if: |

0 commit comments

Comments
 (0)