vsilvey/ChatGPT GitHub Actions

This GitHub Action automates code review for pull requests using OpenAI's GPT models. It posts detailed AI-generated reviews directly in PR comments, helping maintain code quality, enforce best practices, and surface bugs or improvements.

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""
github_reviewerReviewer username that was requested (optional filter)no""
openai_modelOpenAI model to use (e.g. 'gpt-4o', 'o3-2025-04-16')nogpt-4o
openai_temperatureSampling temperature (creativity). 0–1 or 0–2 depending on model.no0.5
openai_max_tokensMaximum tokens the model may generate for the reviewno2048
modeReview mode: 'files' (last commit) or 'patch' (full diff)nofiles
languageNatural language for the review commentsnoen
custom_promptOptional custom system-prompt for the code reviewno""
skip_file_globsComma-separated glob patterns of files/paths to exclude from the prompt (e.g. '*.min.js,dist/**,docs/**'). Binary and image files are already excluded automatically. no""

no outputs