leonardonmariano/PR Review Bot
AI-powered PR code review using Claude — posts structured review comments with score and inline suggestions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for posting comments and setting commit status. Use ${{ secrets.GITHUB_TOKEN }}. | yes | — |
| anthropic-api-key | Anthropic API key for Claude. Store in repository secrets. | yes | — |
| max-files | Maximum number of files to include in the review. Files beyond this limit are skipped. | no | 30 |
| max-diff-lines | Maximum number of diff lines per file. Larger diffs are truncated with a notice. | no | 500 |
| severity-threshold | Minimum severity level to report. "critical" only shows blocking issues; "warning" shows all issues. | no | warning |
| ignored-patterns | Newline-separated list of regex patterns for files to exclude from review. Example: ^docs/ \.generated\.ts$ ^migrations/ | no | "" |
Outputs
| name | description |
|---|---|
| verdict | Review verdict: APPROVED, APPROVED_WITH_SUGGESTIONS, or CHANGES_REQUESTED. |
| score | Review score from 1 to 10. |
| critical-issues | Number of critical issues found. |
| review-url | URL of the PR where the review was posted. |