{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "anthropics-claude-code-action--automatic-code-review-on-every-pull-request",
 "repo": "anthropics/claude-code-action",
 "repo_url": "https://github.com/anthropics/claude-code-action",
 "repo_slug": "anthropics-claude-code-action",
 "title": "Get an automatic code review on every pull request",
 "page_title": "How to get an automatic code review on every pull request with Claude Code Action",
 "summary": "Use the Solutions Guide's automatic PR review pattern so Claude reviews each PR when it opens.",
 "who": "A small team without enough reviewers for every change.",
 "problem": "PRs wait days for review, and simple problems slip through when reviewers are busy.",
 "outcome": "A review comment from Claude on each PR, with suggested improvements.",
 "steps": [
  "Open the Solutions Guide and copy the Automatic PR Code Review example",
  "Add it as a workflow in .github/workflows",
  "Adjust the prompt input to your team's standards or a custom review checklist",
  "Open a test PR and read the review"
 ],
 "agent_prompt": "Add anthropics/claude-code-action's automatic PR code review workflow from the Solutions Guide to <repo>, tune the prompt to our <standards>, and open a test PR to check it.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "This card is written from the anthropics/claude-code-action README, not from a test run by Deduped. Before you start, make sure you have a GitHub repository where you are an admin. Check the repo for newer instructions before you rely on these steps.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A GitHub repository where you are an admin (to install the app and add secrets)",
  "Claude Code in the terminal for the quickstart, with a direct Anthropic API key",
  "Or AWS Bedrock, Google Vertex AI or Microsoft Foundry, set up through the cloud providers guide"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/anthropics-claude-code-action/automatic-code-review-on-every-pull-request/",
 "md": "https://dedupedai.com/use-cases/anthropics-claude-code-action/automatic-code-review-on-every-pull-request/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/anthropics-claude-code-action--automatic-code-review-on-every-pull-request.json",
 "api_version": "v1"
}
