shinkawamisaki/AI PR Reviewer (by Misaki)
Strict, rule-based AI Pull Request Reviewer supporting Gemini, Claude, GPT-4o and more
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN to comment on PRs | yes | — |
| model | AI model to use (e.g., "gemini/gemini-2.5-flash", "claude-opus-4-7", "gpt-4o") | no | gemini/gemini-2.5-flash |
| gemini_api_key | API Key for Google AI Studio (required when using a Gemini model) | no | "" |
| anthropic_api_key | API Key for Anthropic Claude (required when using a Claude model) | no | "" |
| openai_api_key | API Key for OpenAI (required when using a GPT model) | no | "" |
| rules_file | Path to the repository rules file (e.g., .clinerules, CONTRIBUTING.md). Read from the PR base commit. | no | .clinerules |
| active_rules_file | Path to a precedents file (past human review decisions) that takes priority over the rules. Read from the PR base commit. Optional. | no | "" |
| prompt_file | Path to a custom review prompt template in your repository (placeholders: {{rules}}, {{active_rules}}, {{diff}}, {{language}}). Read from the PR base commit. Defaults to the prompt bundled with this action. | no | "" |
| strict_verify | Fail closed: when no verdict can be produced (injection, format drift, API outage), block the merge instead of passing. Set "false" to fail open. | no | true |
| set_commit_status | Post a commit status (context: status_context) usable as a required status check. Requires "statuses: write" permission. Set "false" to disable. | no | true |
| status_context | Context name of the commit status posted by this action. | no | AI PR Reviewer |
| output_path | Path to save the review result as a file (e.g., review.md). Optional. | no | "" |
| exclude_patterns | Comma-separated glob patterns to ignore (e.g., "*.lock,dist/*,*.json"). | no | *-lock.json,*-lock.yaml,*.lock,dist/*,node_modules/*,vendor/* |
| language | Language for the review comments (e.g., "ja-JP", "en-US"). | no | ja-JP |
Outputs
no outputs