actions-marketplace-validations/PR Size Watcher

Checks PR size, adds comment and/or fails build if PR is too big.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
githubTokenGitHub token for commenting on a PRyes""
errorSizeMax number of additions after each changes will be requested.no500
errorMessageMessage that will be added as a comment if error is triggered. {allowed} placeholder will be replaced with `errorSize` value. no:no_entry: PR has more than **{allowed} additions**. Split it into smaller PRs.
warningSizeMax number of additions after each warning comment will be added.no300
warningMessageMessage that will be added as a comment if warning is triggered. {allowed} placeholder will be replaced with `warningSize` value. no:warning: PR has more than **{allowed} additions**. Consider splitting it into smaller PRs.
excludeTitleIf not empty PR title will be checked against this regex. If it matches, validation will be skipped. no""
excludePathsFile paths that should be excluded from size calculation. no""
excludeLabelsLabels that should be excluded from size calculation. no""

no outputs