ming8525/AI Code Review Action
Perform code reviews and comment on diffs using OpenAI API.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token to interact with the repository. | yes | — |
| USE_AZURE | Whether use AzureOpenAI of the OpenAI class. | no | false |
| AZURE_ENDPOINT | The endpoint used for AzureOpenAI. | no | "" |
| AZURE_API_VERSION | The API version used for AzureOpenAI. | no | "" |
| OPENAI_API_KEY | OpenAI API key for GPT. | yes | — |
| OPENAI_API_MODEL | OpenAI API model name or Azure model deployment name. | no | gpt-4 |
| EXCLUDE_FILES | Glob patterns to exclude files from the diff analysis | no | "" |
| MAX_ALLOWED_LINES | Maximum number of lines allowed to be changed | no | 200 |
| MAX_RETURNED_COMMENTS | Maximum number of comments to return | no | 10 |
Outputs
no outputs