jnewtons/PR Size Guard

Guard PR size and nudge teams to include tests.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub token for API calls. Recommended to pass ${{ github.token }} from the workflow.no
max_linesMaximum total changed lines allowed in a PRno400
max_filesMaximum changed files allowed in a PRno25
test_pathsComma separated list of folders considered tests (e.g. tests,__tests__)notest,tests,__tests__
excludeComma separated glob patterns to ignore (e.g. **/package-lock.json,**/*.min.js)no""
modewarn or failnowarn
retriesNumber of retries on transient API errors (HTTP 429/5xx)no2
namedescription
files_changedNumber of considered files
lines_changedTotal changed lines across considered files
tests_touchedWhether a test directory was touched
verdictpass, warn, or fail