From bd8adc3bf90f3411659af893602de7557a033388 Mon Sep 17 00:00:00 2001 From: bryanboyko Date: Wed, 4 Mar 2026 10:08:46 -0800 Subject: [PATCH] Add Claude PR review workflow Mirrors the existing claude-review.yml from the iOS-private and Android repos to enable automated code review on pull requests. Made-with: Cursor --- .github/workflows/claude-review.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/claude-review.yml diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml new file mode 100644 index 00000000..c2abb573 --- /dev/null +++ b/.github/workflows/claude-review.yml @@ -0,0 +1,23 @@ +name: Claude PR Review +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + review: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + issues: write + actions: read + id-token: write + steps: + - uses: actions/checkout@v4 + + - uses: anthropics/claude-code-action@v1 + with: + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} + prompt: "Review this PR for bugs, security issues, and code quality. Post your findings as a PR comment. Be concise." + track_progress: "true"