UpdateBranchProtectionRuleInput Input Object
Autogenerated input type of UpdateBranchProtectionRule
Fields
#
branchProtectionRuleId
The global relay id of the branch protection rule to be updated.
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.
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 updateBranchProtectionRule from type Mutation
UpdatableComment
