Skip to content

Commit 516a6a9

Browse files
committed
ci(review): allow gh pr comment + gh api so findings actually post
1 parent fa29dc9 commit 516a6a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/claude-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
with:
2626
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
2727
prompt: |
28-
Review this pull request for real problems only: bugs, security issues, broken edge cases, data-loss risks, and spec or test drift. Read the diff with gh pr diff; read surrounding code when the diff alone is ambiguous. Leave short inline comments on specific lines for each finding, then one summary comment (or just "LGTM" if nothing found). No praise, no style nits, no em dashes anywhere.
29-
claude_args: --allowed-tools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr checks:*)"
28+
Review this pull request for real problems only: bugs, security issues, broken edge cases, data-loss risks, and spec or test drift. Read the diff with gh pr diff; read surrounding code when the diff alone is ambiguous. Leave short inline comments on specific lines for each finding (mcp inline tool if available, else gh api repos/OWNER/REPO/pulls/N/comments), then ALWAYS post one summary comment via gh pr comment (or just "LGTM" if nothing found). No praise, no style nits, no em dashes anywhere.
29+
claude_args: --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh api:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr checks:*)"

0 commit comments

Comments
 (0)