esingh25/Claude PR Reviewer

AI-powered pull request review using the Claude API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 29, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: esingh25/claude-pr-reviewer@c907be3c561994863ab989065b18b8be17beab39 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
anthropic-api-keyAnthropic API key used to call Claudeyes
github-tokenToken used to fetch PR diffs and post review commentsno${{ github.token }}
modelClaude model to use for reviewnoclaude-sonnet-4-6
max-diff-charsMaximum diff characters sent to Claude per fileno12000
max-filesMaximum number of changed files to review per PR (bounds API cost)no50
enable-cross-file-contextInclude excerpts of related files (detected via import/include statements) as extra context for Claude. Sends more file content per review than diffs alone; set to 'false' for privacy-sensitive private repos that want to limit what leaves the org boundary.notrue
namedescription
metricsJSON record of this review run (repo, PR number, head SHA, model, timestamp, files reviewed, comments posted, severity breakdown, duration). Also written to the job's step summary as a readable markdown block.