platypeeps/SD GitHub review router

Route a pull request to a cost-efficient reviewer, a deep reviewer, Copilot, or no AI review.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenToken used to inspect the pull request and request Copilot. Requires pull-requests: write when Copilot can be selected.yes
modeRouting mode. One of auto, cheap, deep, copilot, or none.noauto
pr-numberPull request number. Usually inferred from the event payload.no
changed-line-thresholdIn auto mode, additions plus deletions at or above this value route to Copilot.no800
sensitive-pathsComma- or newline-separated glob patterns that route to Copilot in auto mode.no**/auth/** **/authentication/** **/authorization/** **/billing/** **/crypto/** **/migrations/** **/schema/** **/api/**
confidenceOptional confidence from an earlier review stage. One of unknown, high, medium, or low.nounknown
low-confidence-routeRoute used when confidence is low. One of deep or copilot.nodeep
cheap-modelProvider model identifier emitted when the cheap route is selected.no""
deep-modelProvider model identifier emitted when the deep route is selected.no""
request-copilotWhether to request the Copilot reviewer when the copilot route is selected.notrue
copilot-reviewerGitHub login used for Copilot code review.nocopilot-pull-request-reviewer[bot]
review-draftsWhether auto mode should review draft pull requests.nofalse
trusted-associationsComma-separated author associations allowed to issue /review commands.noOWNER,MEMBER,COLLABORATOR
allow-pr-author-commandsAllow the pull request author to issue /review commands regardless of repository association.nofalse
namedescription
routeSelected route: cheap, deep, copilot, or none.
reasonHuman-readable explanation of the routing decision.
modelConfigured model identifier for a cheap or deep external reviewer.
pull-request-numberPull request number that was evaluated.
changed-linesAdditions plus deletions reported by GitHub.
sensitive-filesJSON array of files matching sensitive-path patterns.
run-external-reviewertrue when the caller should run PR-Agent, Gito, or another external reviewer.
copilot-requestedtrue when this invocation requested Copilot through the GitHub API.