Github API - Test Config

RefUpdateRule [object]

Branch protection rules that are enforced on the viewer.

Attributes
allowsDeletions Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Can this branch be deleted.

allowsForcePushes Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Are force pushes allowed on this branch.

blocksCreations Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Can matching branches be created.

pattern String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

Identifies the protection rule pattern.

requiredApprovingReviewCount Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Number of approving reviews required to update matching branches.

requiredStatusCheckContexts String []

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

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

requiresCodeOwnerReviews Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Are reviews from code owners required to update matching branches.

requiresConversationResolution Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Are conversations required to be resolved before merging.

requiresLinearHistory Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Are merge commits prohibited from being pushed to this branch.

requiresSignatures Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Are commits required to be signed.

viewerAllowedToDismissReviews Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Is the viewer allowed to dismiss reviews.

viewerCanPush Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Can the viewer push to the branch

API:
Github GraphQL API