Can I possible to limit the number of reviewers list while create a pull request? My purpose is what I need the the all approvers accept the pull request, if there is one approver decline, the pull request would not be allowed to merge.
So if I configure "Requires 4 approvers", I only allow 4 reviewers in the list. Or the other way to say, all reviewers must accept the request, or that any associated builds are green.
Thank you.
Default behavior is that if a reviewer declines the Pull Request, it will not be merged. But this is not the same as saying that they all must approve it.
If you really want to do this, you need to write a plugin for it (it should listen to PullRequestOpenedEvent , PullRequestReopenedEvent and PullRequestRolesUpdatedEvent).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.