bhawna518/AI Code Review
Perform code review using various AI models from OpenAI, Anthropic, Google, X or Deepseek
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 7, 2026
- License
- MIT
Pinned Snippet
uses: bhawna518/ai-code-review@39b86e67cac0d710122dbe3f8e78faa0fd021416 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token | yes | — |
| ai_provider | AI provider to use (openai, anthropic, google or deepseek) | yes | openai |
| openai_api_key | OpenAI API key (required if using OpenAI provider) | no | — |
| openai_model | OpenAI model name (e.g., gpt-5.2 or o3) | no | gpt-5.2 |
| anthropic_api_key | Anthropic API key (required if using Anthropic provider) | no | — |
| anthropic_model | Anthropic model name (e.g., claude-sonnet-4-5-20250929 or claude-opus-4-5-20251101) | no | claude-sonnet-4-5-20250929 |
| google_api_key | Google AI API key (required if using Google provider) | no | — |
| google_model | Google model name (e.g., gemini-3-flash-preview or gemini-3-pro-preview) | no | gemini-3-flash-preview |
| deepseek_api_key | Deepseek API key (required if using Deepseek provider) | no | — |
| deepseek_model | Deepseek model name (e.g., deepseek-chat) | no | deepseek-chat |
| x_api_key | X API key (required if using X provider) | no | — |
| x_model | X model name (e.g., grok-4 or grok-4-1-fast-reasoning-latest) | no | grok-4 |
| perplexity_api_key | Perplexity API key (required if using Perplexity provider) | no | — |
| perplexity_model | Perplexity model name (e.g., sonar, sonar-pro, r1-1776, sonar-reasoning-pro) | no | sonar-reasoning-pro |
| owner | Repository owner | yes | — |
| repo | Repository name | yes | — |
| pr_number | Pull request number | yes | — |
| include_extensions | File extensions to include in the review (comma-separated, e.g., ".py,.js,.html") | no | — |
| exclude_extensions | File extensions to exclude from the review (comma-separated) | no | — |
| include_paths | Paths to include in the review (comma-separated) | no | — |
| exclude_paths | Paths to exclude from review (comma-separated, e.g., "test/,docs/") | no | — |
| fail_action_if_review_failed | If set to true, the action fails when the review process fails | no | false |
| review_rules_file | Path to a file containing custom review rules to be added to the AI system prompt. | no | — |
Outputs
no outputs