kazuya4395/Vertex AI Code Review
Automatically review pull requests using Google Vertex AI (Gemini / Claude) with structured inline comments and AI Review Summary.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GITHUB_TOKEN secret. | yes | — |
| gcp-project-id | Your Google Cloud Project ID. | yes | — |
| gcp-location | The Google Cloud region for your project. | no | us-east5 |
| gcp-credentials | The JSON content of your GCP service account key. | yes | — |
| model | The Vertex AI model to use for the review. e.g. `gemini-2.5-pro`, `claude-sonnet-4-5@20250929`. | no | gemini-2.5-pro |
| system-prompt-path | The path to a custom system prompt file relative to your repository root. Output must conform to ReviewResult JSON schema. If empty, uses the built-in Japanese prompt. | no | "" |
| diff-size-limit | The maximum total diff size (in bytes) to review. Files exceeding this are excluded. | no | 100000 |
| timeout | The timeout (in milliseconds) for the Vertex AI API call. | no | 120000 |
| max-files | Maximum number of files to send to LLM for review. | no | 50 |
| max-comments | Maximum number of inline comments to post. Excess comments are included in summary only. | no | 20 |
| per-file-diff-limit | Maximum diff size (in bytes) per file. Files exceeding this are excluded. | no | 30000 |
| severity-threshold | Minimum severity to post as inline comment. One of: P0, P1, P2, P3. | no | P3 |
| language | Review language (ja or en). Only ja is supported in initial release; en falls back to ja with a warning. | no | ja |
| review-drafts | Whether to review draft pull requests. | no | false |
| max-output-tokens | Maximum output tokens for LLM response. Increase if JSON output is truncated. | no | 65536 |
Outputs
no outputs