avijitliberty/Open-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
- Stalelast commit May 16, 2024
- License
- MIT
Pinned Snippet
uses: avijitliberty/ga-openai-codereviewer@aa85e65c2fcfb98e51ae7b0d295ef55f3323fb51 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token to interact with the repository. | yes | — |
| OPENAI_API_KEY | OpenAI API key for GPT. | yes | — |
| OPENAI_API_MODEL | OpenAI API model. | no | gpt-4 |
| max_tokens | Maximum number of tokens that can be generated per analysis. | no | 700 |
| exclude | Glob patterns to exclude files from the diff analysis | no | "" |
| custom_prompts | Custom commands to augment the agent's prompts with. Each line is an individual command. | no | "" |
Outputs
no outputs