PullRequestParameters [object]
Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
Attributes
New, reviewable commits pushed will dismiss previous pull request review approvals.
Require an approving review in pull requests that modify files that have a designated code owner.
Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
The number of approving reviews that are required before a pull request can be merged.
All conversations on code must be resolved before a pull request can be merged.
API:
Github GraphQL API