The problem
How it works
The docs describe running `/install-github-app` from Claude Code, or manually installing the Claude GitHub App, adding an API key or OAuth token secret and copying a workflow file. A review workflow runs a code-review plugin skill on opened or updated pull requests and posts inline comments; an interactive workflow answers @claude mentions in issues and PRs.
Results and limitations
Anthropic's docs say Claude posts findings as inline comments, or one summary comment when it finds nothing, and skips drafts and trivial PRs.
Before you try it
Each run uses GitHub Actions minutes and model tokens; the docs suggest turn limits and timeouts to cap cost. The GitHub App asks for broad permissions, and secrets are withheld from fork PRs on public repos. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Tools and repositories
- Tools
- GitHub Actions · Claude Code · GitHub CLI
- Prerequisites
- Admin access to the repository and an Anthropic API key or Claude subscription OAuth token stored as a secret.
Try it yourself: Set up PR review for a repository
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Set up automatic pull request review with the Claude Code GitHub Action for [Repository]. Explain the GitHub App permissions and the secret it needs, then show me the workflow YAML before committing anything. Trigger reviews on [PR events], cap each run with --max-turns [Turn limit] and a job timeout, and focus the review on [Review focus]. Put review rules in CLAUDE.md rather than the workflow. Commit the workflow to a new branch and open a draft pull request only after I approve; do not touch existing workflows or secrets without asking.Treat AI review comments as suggestions and keep a human approval requirement on merges.
Related videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Claude Code GitHub Actions (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 9 Nov 2026, 22:25 UTC
What this source supports
- Quick setup with /install-github-app or manual workflow setup
- Review workflow posts inline PR comments via a code-review plugin skill
- Interactive mode responds to @claude mentions
- Costs are GitHub Actions minutes plus API tokens; use --max-turns and timeouts
- Store credentials as GitHub secrets and review changes before merging

