actions-marketplace-validations/PR Bouncer
Bounce pull requests that are too big
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 17, 2021
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/oncilla_pr-bouncer@dd97ceeb0a63348a7c7bfea05c338caa67213071 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Secret github token: secrets.GITHUB_TOKEN | yes | — |
| warning-size | Number of added lines that cause warning. If the number of added lines of code exceed this threshold, a warning message is added to the pull request. Generated files are excluded from this rule. | no | 750 |
| bounce-size | Number of added lines that cause pull request to be rejected. If the number of added lines of code exceed this threshold, an error message is added to the pull request, and it is automatically closed. This can be turned of by specifying the ignore label on the pull request. | no | 1000 |
| ignore-label | Label to instruct bouncer to ignore the pull request. If this label is specified, the PR bouncer does not automatically closed the pull request. | no | no-bounce |
| file-excluders | Regular expressions that matches file paths to exclude. All files with a path that is matched by any of the regular expression, are excluded from counting towards the additions. The format is a comma separated list. | no | _test.go,\/mock_,BUILD.bazel |
| generated-markers | Grepable file markers for generated files. All files that contain any of the markers, are excluded from counting towards the additions. The format is a comma separated list. The files are checked using 'grep', thus, the marker need to be formatted accordingly. | no | GENERATED FILE DO NOT EDIT,Code generated by .* DO NOT EDIT |
| auto-close | Automatically close pull request if it exceeds the bounce-size. | no | false |
| warning-message | Message to be posted as warning on big pull requests. | no | Thank you for the contribution. The pull request is rather big. It exceeds {WARNING-SIZE} additions of code. Please consider splitting the pull request into multiple contribution to make the review process easier. |
| bounce-message | Message to be posted on bounced pull requests. | no | Thank you for the contribution. The pull request exceeds {BOUNCE-SIZE} of allowed additions. Please consider splitting the pull request into multiple contributions to make the review process easier for both you and the maintainer. If this pull request absolutely needs to be this big, contact a maintainer and they can whitelist this PR, |
Outputs
no outputs