getsentry/PR Risk Action

Score a pull request as low, medium, or high risk.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repoGitHub repository as owner/name.yes
pr-numberPull request number.yes
profileProfile directory under profiles/. Defaults to owner__repo.no""
historyOptional raw historical PR JSONL or JSONL.GZ path. Defaults to the selected profile history.no""
modelOptional saved model JSON path. Defaults to the selected profile model.no""
result-pathJSON result output path.norisk-pr-result.json
skip-reviewsSkip fetching current PR reviews.notrue
apply-labelApply risk labels to the pull request. Requires issues: write in the caller workflow.notrue
label-prefixPrefix for risk labels.norisk:
python-versionPython version used to run the scorer.no3.11
namedescription
risk-labelFinal deployable low/medium/high label.
final-risk-labelFinal deployable low/medium/high label.
final-risk-policyFinal label policy name.
logistic-risk-labelLogistic model label before guardrails.
rule-risk-labelDeterministic rule label before guardrails.
logistic-probabilityLogistic model probability for the trained outcome.
logistic-percentile-repoLogistic repo-relative percentile.
rule-percentile-repoDeterministic rule repo-relative percentile.
github-labelLabel applied to the pull request.