From 5f9a9e9747a1fde3b4607213cd0a728dac5d35b4 Mon Sep 17 00:00:00 2001 From: kashyap murali Date: Thu, 28 Aug 2025 15:04:44 -0700 Subject: [PATCH] test: update claude-review workflow to use feat/enhanced-mode-routing (#114) - Use feat/enhanced-mode-routing branch to test new track_progress feature - Enable track_progress to get tracking comments - Add synchronize trigger for updates - Changed from direct_prompt to prompt (v1 migration) - Removed allowed_tools as they're not needed with the new routing --- .github/workflows/claude-review.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 10706cc..59829db 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -2,12 +2,14 @@ name: Auto review PRs on: pull_request: - types: [opened] + types: [opened, synchronize] jobs: auto-review: permissions: contents: read + issues: write + pull-requests: write id-token: write runs-on: ubuntu-latest @@ -17,10 +19,11 @@ jobs: with: fetch-depth: 1 - - name: Auto review PR - uses: anthropics/claude-code-action@main + - name: Auto review PR with tracking + uses: anthropics/claude-code-action@feat/enhanced-mode-routing with: - direct_prompt: | + track_progress: true + prompt: | Please review this PR. Look at the changes and provide thoughtful feedback on: - Code quality and best practices - Potential bugs or issues @@ -30,4 +33,3 @@ jobs: Be constructive and specific in your feedback. Give inline comments where applicable. anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - allowed_tools: "mcp__github__create_pending_pull_request_review,mcp__github__add_comment_to_pending_review,mcp__github__submit_pending_pull_request_review,mcp__github__get_pull_request_diff"