RefUpdateRule [object]
Branch protection rules that are enforced on the viewer.
Attributes
Can this branch be deleted.
Are force pushes allowed on this branch.
Can matching branches be created.
Identifies the protection rule pattern.
Number of approving reviews required to update matching branches.
List of required status check contexts that must pass for commits to be accepted to matching branches.
Are reviews from code owners required to update matching branches.
Are conversations required to be resolved before merging.
Are merge commits prohibited from being pushed to this branch.
Are commits required to be signed.
Is the viewer allowed to dismiss reviews.
Can the viewer push to the branch
API:
Github GraphQL API