Lucas
Lucas

Reputation: 126

Is there a way to set a required number of reviewers per pull request as opposed to per branch in GitHub?

Currently, all pull requests in a certain branch require a certain number of reviewers, as in this example: https://github.blog/2018-03-23-require-multiple-reviewers/

Is there a way to change the required number of reviewers on a per-PR basis as opposed to the entire branch?

Upvotes: 3

Views: 1152

Answers (1)

VonC
VonC

Reputation: 1324937

It does not seem possible, and the GitHub API for creating a pull request certainly does not expose the number of reviewer as a potential parameter.

Similarly, changes to a pull request branch does not involve changing the number of reviewers.

Upvotes: 2

Related Questions