cirolini/ChatGPT GitHub Actions

This GitHub Action automates code review for pull requests using OpenAI's GPT models. By integrating this action into your CI/CD pipeline, it provides detailed, AI-generated reviews of your code directly within the PR comments. This tool helps maintain code quality, ensures adherence to best practices, and highlights potential improvements and bugs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
openai_api_keyOpenAI API Keyyes""
github_tokenGithub API Keyyes""
github_pr_idGithub PR IDyes""
openai_modelThe OpenAI model to use for generating responses. Examples: 'gpt-3.5-turbo', 'gpt-4'nogpt-3.5-turbo
openai_temperatureThe temperature for OpenAI responses. Controls the creativity of the responses. Higher values (e.g., 0.9) make output more random, while lower values (e.g., 0.1) make it more focused and deterministic.no0.5
openai_max_tokensThe maximum number of tokens to generate in the OpenAI response. Example: 1000no2048
modeThe mode of operation for the action. Options: 'files' to review file changes, 'patch' to review the patch changes.nofiles
languageThe language for the code reviewnoen
custom_promptCustom prompt to use for generating responses. If not provided, a default prompt will be used based on the mode.no""

no outputs