sameeradhikari-ml/PRBot - AI Code Reviewer

Automatically reviews pull requests using OpenAI and posts inline comments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
openai_api_keyOpenAI API key (store as a secret)yes
modelOpenAI model to use for reviewnogpt-4o-mini
focusComma-separated list of review focus areas. Options: bugs, security, performance, style, documentation, tests nobugs,security,performance
exclude_patternsComma-separated glob patterns to exclude from review. Supports micromatch syntax. no**/*.lock,**/*.min.js,**/dist/**,**/*.generated.*,**/node_modules/**,**/*.snap
severity_thresholdMinimum severity level to post as a comment. Options: info, warning, error nowarning
max_filesMaximum number of changed files to review. Skips the review if exceeded.no30
max_tokens_per_chunkMaximum tokens per OpenAI request chunkno3500
post_summaryWhether to post a summary comment on the PRnotrue
auto_approveAutomatically approve the PR if no issues are found above the thresholdnofalse
auto_request_changesAutomatically request changes if any error-severity issues are foundnofalse
language_hintsComma-separated language hints to improve review quality (e.g. "typescript,react,postgres"). PRBot detects language from file extensions automatically; this adds extra context. no""
custom_instructionsAdditional instructions appended to the system prompt (e.g. "We use tabs not spaces")no""
github_tokenGitHub token for posting comments. Defaults to the built-in GITHUB_TOKEN.no${{ github.token }}
namedescription
issues_foundTotal number of issues found across all reviewed files
files_reviewedNumber of files reviewed
review_urlURL of the posted review