Branch Protection Required Pull Request Review Args
Constructors
Properties
The list of actor Names/IDs with dismissal access. If not empty, restrict_dismissals
is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
Dismiss approved reviews automatically when a new commit is pushed. Defaults to false
.
The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
Require an approved review in pull requests including files with a designated code owner. Defaults to false
.
Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream documentation for more information. (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
Require that The most recent push must be approved by someone other than the last pusher. Defaults to false
Restrict pull request review dismissals.