diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index a3eb06147b..6aab86f390 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -1820,6 +1820,11 @@ type BranchProtectionRule implements Node { """ requiredApprovingReviewCount: Int + """ + List of required deployment environments that must be deployed successfully to update matching branches + """ + requiredDeploymentEnvironments: [String] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -1850,6 +1855,11 @@ type BranchProtectionRule implements Node { """ requiresConversationResolution: Boolean! + """ + Does this branch require deployment to specific environments before merging + """ + requiresDeployments: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -5778,6 +5788,11 @@ input CreateBranchProtectionRuleInput { """ requiredApprovingReviewCount: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -5808,6 +5823,11 @@ input CreateBranchProtectionRuleInput { """ requiresConversationResolution: Boolean + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -41131,6 +41151,11 @@ input UpdateBranchProtectionRuleInput { """ requiredApprovingReviewCount: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -41161,6 +41186,11 @@ input UpdateBranchProtectionRuleInput { """ requiresConversationResolution: Boolean + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -44726,6 +44756,11 @@ type WorkflowRun implements Node & UniformResourceLocatable { """ last: Int ): DeploymentReviewConnection! + + """ + The event that triggered the workflow run + """ + event: String! id: ID! """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 7dd4c7fb5a..6f1aa10151 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -2087,6 +2087,11 @@ type BranchProtectionRule implements Node { """ requiredApprovingReviewCount: Int + """ + List of required deployment environments that must be deployed successfully to update matching branches + """ + requiredDeploymentEnvironments: [String] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -2117,6 +2122,11 @@ type BranchProtectionRule implements Node { """ requiresConversationResolution: Boolean! + """ + Does this branch require deployment to specific environments before merging + """ + requiresDeployments: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -6216,6 +6226,11 @@ input CreateBranchProtectionRuleInput { """ requiredApprovingReviewCount: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -6246,6 +6261,11 @@ input CreateBranchProtectionRuleInput { """ requiresConversationResolution: Boolean + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -51314,6 +51334,11 @@ input UpdateBranchProtectionRuleInput { """ requiredApprovingReviewCount: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -51344,6 +51369,11 @@ input UpdateBranchProtectionRuleInput { """ requiresConversationResolution: Boolean + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -55876,6 +55906,11 @@ type WorkflowRun implements Node & UniformResourceLocatable { """ last: Int ): DeploymentReviewConnection! + + """ + The event that triggered the workflow run + """ + event: String! id: ID! """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 7dd4c7fb5a..6f1aa10151 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -2087,6 +2087,11 @@ type BranchProtectionRule implements Node { """ requiredApprovingReviewCount: Int + """ + List of required deployment environments that must be deployed successfully to update matching branches + """ + requiredDeploymentEnvironments: [String] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -2117,6 +2122,11 @@ type BranchProtectionRule implements Node { """ requiresConversationResolution: Boolean! + """ + Does this branch require deployment to specific environments before merging + """ + requiresDeployments: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -6216,6 +6226,11 @@ input CreateBranchProtectionRuleInput { """ requiredApprovingReviewCount: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -6246,6 +6261,11 @@ input CreateBranchProtectionRuleInput { """ requiresConversationResolution: Boolean + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -51314,6 +51334,11 @@ input UpdateBranchProtectionRuleInput { """ requiredApprovingReviewCount: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] + """ List of required status check contexts that must pass for commits to be accepted to matching branches. """ @@ -51344,6 +51369,11 @@ input UpdateBranchProtectionRuleInput { """ requiresConversationResolution: Boolean + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -55876,6 +55906,11 @@ type WorkflowRun implements Node & UniformResourceLocatable { """ last: Int ): DeploymentReviewConnection! + + """ + The event that triggered the workflow run + """ + event: String! id: ID! """ diff --git a/src/graphql/data/dotcom/changelog.json b/src/graphql/data/dotcom/changelog.json index af441ab650..ef6eaf87c0 100644 --- a/src/graphql/data/dotcom/changelog.json +++ b/src/graphql/data/dotcom/changelog.json @@ -1,4 +1,23 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Field requiredDeploymentEnvironments was added to object type BranchProtectionRule
Field requiresDeployments was added to object type BranchProtectionRule
Input field requiredDeploymentEnvironments was added to input object type CreateBranchProtectionRuleInput
Input field requiresDeployments was added to input object type CreateBranchProtectionRuleInput
Input field requiredDeploymentEnvironments was added to input object type UpdateBranchProtectionRuleInput
Input field requiresDeployments was added to input object type UpdateBranchProtectionRuleInput
Field event was added to object type WorkflowRun
List of required deployment environments that must be deployed successfully to update matching branches.
", + "type": "[String]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -10249,6 +10257,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Does this branch require deployment to specific environments before merging.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", @@ -71019,6 +71035,14 @@ } ] }, + { + "name": "event", + "description": "The event that triggered the workflow run.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "pendingDeploymentRequests", "description": "The pending deployment requests of all check runs in this workflow run.
", @@ -84443,6 +84467,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "The list of required deployment environments.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -84491,6 +84523,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Are successful deployments required before merging.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", @@ -91254,6 +91294,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "The list of required deployment environments.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -91302,6 +91350,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Are successful deployments required before merging.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 9db278fa26..d55c7babb2 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -8160,6 +8160,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "List of required deployment environments that must be deployed successfully to update matching branches.
", + "type": "[String]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -8208,6 +8216,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Does this branch require deployment to specific environments before merging.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", @@ -59470,6 +59486,14 @@ } ] }, + { + "name": "event", + "description": "The event that triggered the workflow run.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "pendingDeploymentRequests", "description": "The pending deployment requests of all check runs in this workflow run.
", @@ -69309,6 +69333,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "The list of required deployment environments.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -69357,6 +69389,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Are successful deployments required before merging.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", @@ -74230,6 +74270,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "The list of required deployment environments.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -74278,6 +74326,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Are successful deployments required before merging.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index daa3b7e2e7..e20c28a1c0 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -10201,6 +10201,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "List of required deployment environments that must be deployed successfully to update matching branches.
", + "type": "[String]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -10249,6 +10257,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Does this branch require deployment to specific environments before merging.
", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", @@ -71019,6 +71035,14 @@ } ] }, + { + "name": "event", + "description": "The event that triggered the workflow run.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "pendingDeploymentRequests", "description": "The pending deployment requests of all check runs in this workflow run.
", @@ -84443,6 +84467,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "The list of required deployment environments.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -84491,6 +84523,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Are successful deployments required before merging.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
", @@ -91254,6 +91294,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "requiredDeploymentEnvironments", + "description": "The list of required deployment environments.
", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "requiredStatusCheckContexts", "description": "List of required status check contexts that must pass for commits to be accepted to matching branches.
", @@ -91302,6 +91350,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "requiresDeployments", + "description": "Are successful deployments required before merging.
", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "requiresLinearHistory", "description": "Are merge commits prohibited from being pushed to this branch.
",