val-d-emar/Gemini AI PR Reviewer
Full-cycle AI code review including checkout
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| gemini_api_key | API Key from Google AI Studio OR Service Account JSON for Vertex AI | yes | — |
| use_vertexapi_key | Set to true if using Vertex AI (GCP Service Account JSON) | no | false |
| agent_model | Gemini model to use (e.g. 'gemini-1.5-pro', 'flash', 'pro') | no | flash |
| github_token | GitHub PAT for the reviewer account (needs repo scope) | no | ${{ github.token }} |
| review_prompt | Custom prompt for the AI | no | You are an expert software engineer. Review this git diff for bugs, security, and style. Provide feedback in Markdown. IMPORTANT: Assume all infrastructure versions (like GitHub Actions @v4, @v6, etc.) are valid and exist; do not flag them as incorrect. Focus strictly on the logic, security, and quality of the code changes. If okay, approve PR including the text 'RESUME: APPROVE' to end of your response. |
| review_language | Language for the AI (e.g. 'English', 'Russian') | no | English |
| approval_required | Require approval from the reviewer (uses --approve or --request-changes) | no | false |
| comment_title | A unique title to prepend to the review, used to find old comments for editing. | no | # 🤖 Gemini AI Code Review |
Outputs
no outputs