iamvirul/PairReviewer

AI-powered PR reviewer using GitHub Models. Posts inline comments and approves PRs once all feedback is resolved.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
reviewer-tokenPersonal Access Token of the reviewer GitHub account. Needs: pull_requests:write, contents:read. Store as a repo secret (e.g. REVIEWER_PAT). yes
github-tokenToken used to read PR data (threads, diff). Defaults to the built-in GITHUB_TOKEN. no${{ github.token }}
models-tokenToken used to call the GitHub Models API. Required for org repos where the built-in GITHUB_TOKEN lacks Models access. Use a personal PAT (classic, no extra scopes needed) from an account with GitHub Models access. Defaults to github-token if not set. no""
modelGitHub Models model ID to use for the review. See https://github.com/marketplace/models for available models. noopenai/gpt-4.1
approve-on-cleanSet to 'false' to post a COMMENT instead of APPROVE when no issues are found. Useful if you want a human final approval. notrue
wait-for-other-workflows-before-approveWhen true, APPROVE verdicts wait until other workflow runs for the same commit are completed. If timeout is reached, PairReviewer posts COMMENT instead of APPROVE. notrue
wait-for-other-workflows-timeout-secondsMax seconds to wait for other workflow runs to complete before downgrading APPROVE to COMMENT. no300
wait-for-other-workflows-poll-secondsPoll interval in seconds when waiting for other workflow runs. no10
max-diff-charsMaximum characters of diff to send to the model. Diffs exceeding this are truncated. Increase for large PRs if your model supports it. no120000

no outputs