minimum-reviews
v1.0.3
Published
> a GitHub App built with [Probot](https://github.com/probot/probot) that enforces a minimum number of reviews in Pull Requests.
Downloads
2
Readme
Probot: Minimum Reviews
a GitHub App built with Probot that enforces a minimum number of reviews in Pull Requests.
Usage
- See docs/deploy.md to learn how to deploy your own instance of this app.
- Create
.github/minimum-reviews.yml
based on the following template. - It will wait for pull requests to be reviewed before marking them as ready to be merged.
A .github/minimum-reviews.yml
file is required to enable the plugin.
# Number of reviews required to mark the pull request as valid
reviewsUntilReady: 2
# Number of changes in the pull request to start enforcing the reviewsUntilReady rule
changesThreshold: 100
# Message to display when the commit status passes
readyMessage: 'No pending reviews'
# Message to display when the commit status fails
notReadyMessage: 'Pending review approvals'
# Status to set the commit to when waiting for reviews
# 'failure, error, and pending' are the suggested options
notReadyState: 'pending'
Deployment
See docs/deploy.md if you would like to run your own instance of this app.