GraphiQL open_in_new

# `ProtectedBranch`

A repository protected branch.

## GraphQL Schema definition `

- type ProtectedBranch implements Node {
- # Check if authorizing actors for pushing is turned on.
- authorizedActorsOnly: Boolean!
- # Check if authorizing dismissers is turned on.
- authorizedDismissalActorsOnly: Boolean!
- # Check to see what level deletion blocking is being
- # enforced.
- blockDeletionsEnforcementLevel: Int!
- # Check to see what level force pushing is being enfored.
- blockForcePushesEnforcementLevel: Int!
- # The creator of this protected branch.
- creator: User!
- id: ID!
- # Identifies the name of the protected branch.
- name: String!
- # Check to see what level reviews are being enforced.
- pullRequestReviewsEnforcementLevel: Int!
- # The repository associated with this protected branch.
- repository: Repository!
- # Check to see what level merge statuses are being enforced.
- requiredStatusChecksEnforcementLevel: Int!
- # A list review dismissal allowances for this protected
- # branch.
- #
- # Arguments
- # first: Returns the first _n_ elements
- # from the list.
- # after: Returns the elements in the
- # list that come after the specified global ID.
- # last: Returns the last _n_ elements
- # from the list.
- # before: Returns the elements in the
- # list that come before the specified global ID.
- reviewDismissalAllowances(first: Int, after: String, last: Int, before: String): ReviewDismissalAllowanceConnection!
- # Check if required status checks is turned on.
- strictRequiredStatusChecksPolicy: Boolean!
- }

`