CreateBranchProtectionRuleInput Input Object
Autogenerated input type of CreateBranchProtectionRule
Fields
#
bypassForcePushActorIds
A list of User, Team, or App IDs allowed to bypass force push targeting matching branches.
bypassPullRequestActorIds
A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches.
dismissesStaleReviews
Will new commits pushed to matching branches dismiss pull request review approvals.
lockAllowsFetchAndMerge
Whether users can pull changes from upstream when the branch is locked. Set to
true to allow fork syncing. Set to false to prevent fork syncing.
lockBranch
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
repositoryId
The global relay id of the repository in which a new branch protection rule should be created in.
requireLastPushApproval
Whether the most recent push must be approved by someone other than the person who pushed it
requiredStatusCheckContexts
List of required status check contexts that must pass for commits to be accepted to matching branches.
reviewDismissalActorIds
A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches.
Usages
#
References
#
- Argument input of field createBranchProtectionRule from type Mutation
