tlaster/Anti Slop

Score PR authors for high-volume, template-like contribution patterns

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token used to query the Search APIno""
fail-on-thresholdFail the check when the score is greater than or equal to fail-thresholdnofalse
close-pr-on-thresholdClose the pull request when the score is greater than or equal to fail-thresholdnofalse
close-linked-author-issuesWhen closing a PR, also close linked issues opened by the same authornotrue
fail-thresholdScore at which the PR is considered high riskno100
one-day-window-hoursRolling hour window used for the short-term PR volume checkno24
one-day-pr-thresholdAdd weight-one-day-prs when the author exceeds this PR countno20
seven-day-window-daysRolling day window used for the broader PR volume checkno7
seven-day-pr-thresholdAdd weight-seven-day-prs when the author exceeds this PR countno100
sample-sizeNumber of recent PRs to sample for repository spread and body markersno100
cross-repo-thresholdAdd weight-cross-repo when sampled PRs span more repositories than thisno30
template-markersNewline or comma separated body markers that suggest templated/AI generated PRsnoMade with [Cursor] Generated with Generated by
template-marker-ratio-thresholdAdd weight-template-markers when this fraction of sampled PRs match markersno0.3
trusted-author-associationsComma or newline separated author_association values that should not add risknoOWNER,MEMBER,COLLABORATOR,CONTRIBUTOR
prior-merged-pr-thresholdAdd weight-no-prior-merged when this repo has fewer merged PRs by the authorno1
weight-one-day-prsScore added for short-term PR volumeno40
weight-seven-day-prsScore added for seven-day PR volumeno40
weight-cross-repoScore added for cross-repository spreadno30
weight-template-markersScore added for matching configured body markersno15
weight-untrusted-associationScore added when author_association is not trustedno10
weight-no-prior-mergedScore added when the author lacks merged PR history in this repono20
namedescription
scoreTotal anti-slop risk score
risk-levellow, medium, high, or skipped
triggered-rulesComma separated rule identifiers that contributed to the score
detailsJSON payload with metrics and triggered rule details
one-day-pr-countAuthor PR count in the short-term window
seven-day-pr-countAuthor PR count in the broader window
unique-repo-countUnique repositories in the sampled recent PRs
template-marker-countNumber of sampled PRs whose bodies matched configured markers
prior-merged-pr-countAuthor merged PR count in the current repository
author-associationGitHub author_association value from the PR payload
pr-closedWhether this action closed the pull request
linked-issues-closedNumber of linked same-author issues closed after closing the pull request
linked-issue-refsComma separated issue references closed by this action