Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ on:
required: false

permissions:
actions: read
contents: read
pull-requests: write
id-token: write
issues: write
pull-requests: write

concurrency:
group: claude-review-${{ github.event.pull_request.number || github.run_id }}
Expand Down Expand Up @@ -44,6 +46,10 @@ jobs:
Analyze the diff in the context of the full codebase.
Post your findings as review comments on the specific lines where issues are found.
Follow the guidelines in REVIEW.md if present.
claude_args: "--max-turns 5"
claude_args: |
--model opus
--max-turns 5
--allowedTools "WebSearch,WebFetch,mcp__github_inline_comment__create_inline_comment,Bash(gh api:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr checks:*),Bash(git log:*),Bash(git blame:*),Bash(git diff:*),"
env:
ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }}
ANTHROPIC_BASE_URL: ${{ vars.ANTHROPIC_BASE_URL }}
ANTHROPIC_CUSTOM_HEADERS: '{"anthropic-beta": "context-1m-2025-08-07,interleaved-thinking-2025-05-14"}'
Loading