From daaea1cae7a1eadd8a9a20ecc0617a6d68affc9a Mon Sep 17 00:00:00 2001 From: Syed Ahsan Ishtiaque <176968742+syed-ahsan-ishtiaque@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:43:35 -0700 Subject: [PATCH 1/3] Upgrade to Opus 4.7 and scope tools/prompt to current PR only --- .github/workflows/claude-code-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 078a75bce..39c381c09 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -45,6 +45,6 @@ jobs: direct_api: "true" github_token: ${{ secrets.GITHUB_TOKEN }} claude_args: | - --model us.anthropic.claude-opus-4-6-v1 --allowedTools "Bash(gh pr diff *),Bash(gh pr view *),Bash(gh api repos/*/pulls/*/comments*),Bash(gh api repos/*/pulls/*/reviews*)" + --model us.anthropic.claude-opus-4-7-v1 --allowedTools "Bash(gh pr diff ${{ 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*)" prompt: | - Review this PR for bugs, security issues, and code quality. Post your findings as inline review comments on the relevant lines. + 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. From 894d16150f81e215e84f25236869196817634597 Mon Sep 17 00:00:00 2001 From: Syed Ahsan Ishtiaque <176968742+syed-ahsan-ishtiaque@users.noreply.github.com> Date: Thu, 23 Apr 2026 13:26:21 -0700 Subject: [PATCH 2/3] Fix Opus 4.7 Bedrock model ID (drop invalid -v1 suffix) --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 39c381c09..9fdf4567a 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -45,6 +45,6 @@ jobs: direct_api: "true" github_token: ${{ secrets.GITHUB_TOKEN }} claude_args: | - --model us.anthropic.claude-opus-4-7-v1 --allowedTools "Bash(gh pr diff ${{ 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*)" + --model us.anthropic.claude-opus-4-7 --allowedTools "Bash(gh pr diff ${{ 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*)" prompt: | 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. From a2b25f5e6b2bc0e1f2669eb97d6d5f098f820d5d Mon Sep 17 00:00:00 2001 From: Syed Ahsan Ishtiaque <176968742+syed-ahsan-ishtiaque@users.noreply.github.com> Date: Thu, 23 Apr 2026 13:35:57 -0700 Subject: [PATCH 3/3] Bump claude-code-action to v1.0.104 for Opus 4.7 support --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 9fdf4567a..a3d1e7d10 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -39,7 +39,7 @@ jobs: - name: Run Claude Code Review id: claude-review - uses: anthropics/claude-code-action@1b422b3517b51140e4484faab676c5e68b914866 #v1.0.73 + uses: anthropics/claude-code-action@0766301cba8671db92e3025984e2fd038ad48ff7 #v1.0.104 with: use_bedrock: "true" direct_api: "true"