| github-token | GitHub token used to query the Search API | no | "" |
| fail-on-threshold | Fail the check when the score is greater than or equal to fail-threshold | no | false |
| close-pr-on-threshold | Close the pull request when the score is greater than or equal to fail-threshold | no | false |
| close-linked-author-issues | When closing a PR, also close linked issues opened by the same author | no | true |
| fail-threshold | Score at which the PR is considered high risk | no | 100 |
| one-day-window-hours | Rolling hour window used for the short-term PR volume check | no | 24 |
| one-day-pr-threshold | Add weight-one-day-prs when the author exceeds this PR count | no | 20 |
| seven-day-window-days | Rolling day window used for the broader PR volume check | no | 7 |
| seven-day-pr-threshold | Add weight-seven-day-prs when the author exceeds this PR count | no | 100 |
| sample-size | Number of recent PRs to sample for repository spread and body markers | no | 100 |
| cross-repo-threshold | Add weight-cross-repo when sampled PRs span more repositories than this | no | 30 |
| template-markers | Newline or comma separated body markers that suggest templated/AI generated PRs | no | Made with [Cursor]
Generated with
Generated by |
| template-marker-ratio-threshold | Add weight-template-markers when this fraction of sampled PRs match markers | no | 0.3 |
| trusted-author-associations | Comma or newline separated author_association values that should not add risk | no | OWNER,MEMBER,COLLABORATOR,CONTRIBUTOR |
| prior-merged-pr-threshold | Add weight-no-prior-merged when this repo has fewer merged PRs by the author | no | 1 |
| weight-one-day-prs | Score added for short-term PR volume | no | 40 |
| weight-seven-day-prs | Score added for seven-day PR volume | no | 40 |
| weight-cross-repo | Score added for cross-repository spread | no | 30 |
| weight-template-markers | Score added for matching configured body markers | no | 15 |
| weight-untrusted-association | Score added when author_association is not trusted | no | 10 |
| weight-no-prior-merged | Score added when the author lacks merged PR history in this repo | no | 20 |