actions-marketplace-validations/PR Size Watcher
Checks PR size, adds comment and/or fails build if PR is too big.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| githubToken | GitHub token for commenting on a PR | yes | "" |
| errorSize | Max number of additions after each changes will be requested. | no | 500 |
| errorMessage | Message 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. |
| warningSize | Max number of additions after each warning comment will be added. | no | 300 |
| warningMessage | Message 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. |
| excludeTitle | If not empty PR title will be checked against this regex. If it matches, validation will be skipped. | no | "" |
| excludePaths | File paths that should be excluded from size calculation. | no | "" |
| excludeLabels | Labels that should be excluded from size calculation. | no | "" |
Outputs
no outputs