sshnaidm/OpenAI Code review Github Action
A Github Action that posts code review from OpenAI 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 OpenAI language model to use for code review | no | gpt-4.1-mini |
| openai-key | The OpenAI API key | yes | — |
| prompt | The prompt to use for the analysis. | no | Please review the code change below and provide feedback. |
| post-if-error | Whether to post a comment if there was an error | no | true |
| max-length | Maximum number of characters to submit to OpenAI | no | 8000 |
| review-title | The title of the review | no | # Code Review by OpenAI |
Outputs
| name | description |
|---|---|
| results | The results of the code review |