From 08aa40e77fe3c00d7b9cbc1f36b0f4824e75d24e Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 17 May 2024 09:33:08 -0700 Subject: [PATCH] GraphQL schema update (#50676) Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 13 +++++++++++++ src/graphql/data/fpt/schema.docs.graphql | 5 +++++ src/graphql/data/fpt/schema.json | 4 ++++ src/graphql/data/ghec/schema.docs.graphql | 5 +++++ src/graphql/data/ghec/schema.json | 4 ++++ 5 files changed, 31 insertions(+) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index bb641a2f78..abf14b542e 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,17 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Enum value 'BRANCH_POLICYwas added to enumDeploymentProtectionRuleType'

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2024-05-17" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 807e1a19a7..c1aa22390a 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -10557,6 +10557,11 @@ type DeploymentProtectionRuleEdge { The possible protection rule types. """ enum DeploymentProtectionRuleType { + """ + Branch policy + """ + BRANCH_POLICY + """ Required reviewers """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index c200148699..e1251d6fff 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -82364,6 +82364,10 @@ "href": "/graphql/reference/enums#deploymentprotectionruletype", "description": "

The possible protection rule types.

", "values": [ + { + "name": "BRANCH_POLICY", + "description": "

Branch policy.

" + }, { "name": "REQUIRED_REVIEWERS", "description": "

Required reviewers.

" diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 807e1a19a7..c1aa22390a 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -10557,6 +10557,11 @@ type DeploymentProtectionRuleEdge { The possible protection rule types. """ enum DeploymentProtectionRuleType { + """ + Branch policy + """ + BRANCH_POLICY + """ Required reviewers """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index c200148699..e1251d6fff 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -82364,6 +82364,10 @@ "href": "/graphql/reference/enums#deploymentprotectionruletype", "description": "

The possible protection rule types.

", "values": [ + { + "name": "BRANCH_POLICY", + "description": "

Branch policy.

" + }, { "name": "REQUIRED_REVIEWERS", "description": "

Required reviewers.

"