juliankahlert/CommitCritic
Review and discuss pull requests using the OpenAI API. This action helps automate code review discussions by interacting with GitHub pull requests and providing intelligent insights via the OpenAI model. You can have interactive, context-sensitive discussions with the AI on review comments, where the AI will intelligently reply to your follow-up comments, maintaining context throughout the conversation.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| BOT_TOKEN | GitHub token (usually a bot token or a personal access token) used to interact with the repository. This is required for authentication to make API calls to the GitHub repository. | yes | — |
| OPENAI_API_KEY | Your OpenAI API key to authenticate and interact with OpenAI models. | yes | — |
| OPENAI_API_MODEL | The OpenAI model to use for generating responses. Default is `gpt-4o-mini-2024-07-18`. You can specify other available models like `gpt-4o`, etc. | no | gpt-4o-mini-2024-07-18 |
| exclude | Glob patterns to exclude certain files from diff analysis. This helps to avoid specific files or directories from being included in the review process (e.g., `**/*.md` to exclude markdown files). | no | "" |
Outputs
no outputs