diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index a98e7da..d81fc67 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -23,7 +23,9 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - claude_args: --model claude-sonnet-5 + claude_args: | + --model claude-sonnet-5 + --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)" prompt: | Review this pull request and post inline comments for: 1. Logic errors and edge cases