Magidoc

RefUpdateRule
Object

Branch protection rules that are enforced on the viewer.

Fields

#

allowsDeletions

Non-null

Can this branch be deleted.

allowsForcePushes

Non-null

Are force pushes allowed on this branch.

blocksCreations

Non-null

Can matching branches be created.

pattern

Non-null

Identifies the protection rule pattern.

requiredApprovingReviewCount

Number of approving reviews required to update matching branches.

requiredStatusCheckContexts

List of required status check contexts that must pass for commits to be accepted to matching branches.

requiresCodeOwnerReviews

Non-null

Are reviews from code owners required to update matching branches.

requiresConversationResolution

Non-null

Are conversations required to be resolved before merging.

requiresLinearHistory

Non-null

Are merge commits prohibited from being pushed to this branch.

requiresSignatures

Non-null

Are commits required to be signed.

viewerAllowedToDismissReviews

Non-null

Is the viewer allowed to dismiss reviews.

viewerCanPush

Non-null

Can the viewer push to the branch

Usages

#

References

#

  • Field refUpdateRule from Ref