Skip to content

Commit 28fc34e

Browse files
chore: switch Claude review to Opus 4.6, increase timeout to 30m (#740)
## Summary - Switch model from `us.anthropic.claude-opus-4-7` to `us.anthropic.claude-opus-4-6-v1` to avoid throttling issues - Increase `timeout-minutes` from 15 to 30 to handle larger PRs ## Motivation Opus 4.7 is getting throttled on Bedrock, causing reviews to timeout at 15 minutes on larger PRs (e.g. dependency update PRs with ~3000 lines changed).
2 parents 9787b89 + 59add92 commit 28fc34e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717
jobs:
1818
claude-review:
1919
if: ${{ !github.event.pull_request.draft }}
20-
timeout-minutes: 15
20+
timeout-minutes: 30
2121
runs-on: ubuntu-latest
2222
permissions:
2323
contents: read
@@ -42,9 +42,8 @@ jobs:
4242
uses: anthropics/claude-code-action@0766301cba8671db92e3025984e2fd038ad48ff7 #v1.0.104
4343
with:
4444
use_bedrock: "true"
45-
direct_api: "true"
4645
github_token: ${{ secrets.GITHUB_TOKEN }}
4746
claude_args: |
48-
--model us.anthropic.claude-opus-4-7 --allowedTools "Bash(gh pr diff ${{ github.event.pull_request.number }}),Bash(gh pr diff ${{ github.event.pull_request.number }} *),Bash(gh pr view ${{ github.event.pull_request.number }}),Bash(gh pr view ${{ github.event.pull_request.number }} *),Bash(gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments*),Bash(gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews*)"
47+
--model us.anthropic.claude-opus-4-6-v1 --allowedTools "Bash(gh pr diff ${{ github.event.pull_request.number }}),Bash(gh pr diff ${{ github.event.pull_request.number }} *),Bash(gh pr view ${{ github.event.pull_request.number }}),Bash(gh pr view ${{ github.event.pull_request.number }} *),Bash(gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments*),Bash(gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews*)"
4948
prompt: |
5049
Review PR #${{ github.event.pull_request.number }} in this repository for bugs, security issues, and code quality. Post your findings as inline review comments on the relevant lines of this PR only. Do not modify, comment on, or interact with any other PR.

0 commit comments

Comments
 (0)