Github API - Test Config

DeploymentProtectionRule [object]

A protection rule.

Attributes
databaseId 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

Identifies the primary key from the database.

preventSelfReview Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether deployments to this environment can be approved by the user who created the deployment.

reviewers DeploymentReviewerConnection

DeploymentReviewerConnection [object]

The connection type for DeploymentReviewer.

Attributes

A list of edges.

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

The teams or users that can review the deployment

timeout 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

The timeout in minutes for this protection rule.

type DeploymentProtectionRuleType

DeploymentProtectionRuleType [enum]

The possible protection rule types.

Possible values
REQUIRED_REVIEWERS

Required reviewers

WAIT_TIMER

Wait timer

API:
Github GraphQL API

The type of protection rule.

API:
Github GraphQL API