sshnaidm/Gemini Code review Github Action
A Github Action that posts code review from Gemini to pull request
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The token used to authenticate with the GitHub API | no | ${{ github.token }} |
| model | The Gemini language model to use for code review | no | gemini-2.5-pro |
| gemini-key | The Gemini API key | yes | — |
| prompt | The prompt to use for the analysis. | no | "" |
| thinking | The thinking mode for Gemini | no | "" |
| temperature | The temperature for Gemini | no | 0.0 |
| top-p | The top_p value for Gemini | no | 0.0 |
| max-output | Limit the length of the output to a certain number of tokens. If set to an empty string, there is no limit. | no | "" |
| context-lines | Number of context lines to include in the diff | no | 10 |
| add-files | Whether to include additional context files in the AI review. If set to `"true"`, all changed files will be sent to the AI. | no | false |
| post-if-error | Whether to post a comment if there was an error | no | true |
| review-title | The title of the review | no | # Code Review by Gemini |
Outputs
| name | description |
|---|---|
| results | The results of the code review |