ProtectedBranch

A repository protected branch.

Implements

Connections

reviewDismissalAllowances (ReviewDismissalAllowanceConnection)
A list review dismissal allowances for this protected branch.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

Fields

authorizedActorsOnly (Boolean)

Check if authorizing actors for pushing is turned on.

authorizedDismissalActorsOnly (Boolean)

Check if authorizing dismissers is turned on.

blockDeletionsEnforcementLevel (Int)

Check to see what level deletion blocking is being enforced.

blockForcePushesEnforcementLevel (Int)

Check to see what level force pushing is being enfored.

creator (User)

The creator of this protected branch.

name (String)

Identifies the name of the protected branch.

pullRequestReviewsEnforcementLevel (Int)

Check to see what level reviews are being enforced.

repository (Repository)

The repository associated with this protected branch.

requiredStatusChecksEnforcementLevel (Int)

Check to see what level merge statuses are being enforced.

strictRequiredStatusChecksPolicy (Boolean)

Check if required status checks is turned on.