1
0
mirror of synced 2025-12-19 18:10:59 -05:00

GraphQL schema update (#58485)

Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
This commit is contained in:
docs-bot
2025-11-13 08:40:06 -08:00
committed by GitHub
parent bed72430fd
commit 8f1de75459
5 changed files with 296 additions and 0 deletions

View File

@@ -1,4 +1,20 @@
[ [
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>RequiredReviewerConfiguration</code> was added</p>",
"<p>Type <code>RequiredReviewerConfigurationInput</code> was added</p>",
"<p>Field <code>requiredReviewers</code> was added to object type <code>PullRequestParameters</code></p>",
"<p>Input field <code>requiredReviewers</code> of type '[RequiredReviewerConfigurationInput!]<code>was added to input object type</code>PullRequestParametersInput'</p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2025-11-13"
},
{ {
"schemaChanges": [ "schemaChanges": [
{ {

View File

@@ -41909,6 +41909,13 @@ type PullRequestParameters {
All conversations on code must be resolved before a pull request can be merged. All conversations on code must be resolved before a pull request can be merged.
""" """
requiredReviewThreadResolution: Boolean! requiredReviewThreadResolution: Boolean!
"""
This field is in beta and subject to change. A collection of reviewers and
associated file patterns. Each reviewer has a list of file patterns which
determine the files that reviewer is required to review.
"""
requiredReviewers: [RequiredReviewerConfiguration!]
} }
""" """
@@ -41950,6 +41957,13 @@ input PullRequestParametersInput {
All conversations on code must be resolved before a pull request can be merged. All conversations on code must be resolved before a pull request can be merged.
""" """
requiredReviewThreadResolution: Boolean! requiredReviewThreadResolution: Boolean!
"""
This argument is in beta and subject to change. A collection of reviewers and
associated file patterns. Each reviewer has a list of file patterns which
determine the files that reviewer is required to review.
"""
requiredReviewers: [RequiredReviewerConfigurationInput!]
} }
""" """
@@ -54516,6 +54530,50 @@ input RequiredDeploymentsParametersInput {
requiredDeploymentEnvironments: [String!]! requiredDeploymentEnvironments: [String!]!
} }
"""
A reviewing team, and file patterns describing which files they must approve changes to.
"""
type RequiredReviewerConfiguration {
"""
Array of file patterns. Pull requests which change matching files must be
approved by the specified team. File patterns use fnmatch syntax.
"""
filePatterns: [String!]!
"""
Minimum number of approvals required from the specified team. If set to zero,
the team will be added to the pull request but approval is optional.
"""
minimumApprovals: Int!
"""
Node ID of the team which must review changes to matching files.
"""
reviewerId: ID!
}
"""
A reviewing team, and file patterns describing which files they must approve changes to.
"""
input RequiredReviewerConfigurationInput {
"""
Array of file patterns. Pull requests which change matching files must be
approved by the specified team. File patterns use fnmatch syntax.
"""
filePatterns: [String!]!
"""
Minimum number of approvals required from the specified team. If set to zero,
the team will be added to the pull request but approval is optional.
"""
minimumApprovals: Int!
"""
Node ID of the team which must review changes to matching files.
"""
reviewerId: ID!
}
""" """
Represents a required status check for a protected branch, but not any specific run of that check. Represents a required status check for a protected branch, but not any specific run of that check.
""" """

View File

@@ -56179,6 +56179,14 @@
"id": "boolean", "id": "boolean",
"kind": "scalars", "kind": "scalars",
"href": "/graphql/reference/scalars#boolean" "href": "/graphql/reference/scalars#boolean"
},
{
"name": "requiredReviewers",
"description": "<p>This field is in beta and subject to change. A collection of reviewers and\nassociated file patterns. Each reviewer has a list of file patterns which\ndetermine the files that reviewer is required to review.</p>",
"type": "[RequiredReviewerConfiguration!]",
"id": "requiredreviewerconfiguration",
"kind": "objects",
"href": "/graphql/reference/objects#requiredreviewerconfiguration"
} }
] ]
}, },
@@ -70829,6 +70837,39 @@
} }
] ]
}, },
{
"name": "RequiredReviewerConfiguration",
"kind": "objects",
"id": "requiredreviewerconfiguration",
"href": "/graphql/reference/objects#requiredreviewerconfiguration",
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
"fields": [
{
"name": "filePatterns",
"description": "<p>Array of file patterns. Pull requests which change matching files must be\napproved by the specified team. File patterns use fnmatch syntax.</p>",
"type": "[String!]!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "minimumApprovals",
"description": "<p>Minimum number of approvals required from the specified team. If set to zero,\nthe team will be added to the pull request but approval is optional.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "reviewerId",
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id"
}
]
},
{ {
"name": "RequiredStatusCheckDescription", "name": "RequiredStatusCheckDescription",
"kind": "objects", "kind": "objects",
@@ -106132,6 +106173,14 @@
"id": "boolean", "id": "boolean",
"kind": "scalars", "kind": "scalars",
"href": "/graphql/reference/scalars#boolean" "href": "/graphql/reference/scalars#boolean"
},
{
"name": "requiredReviewers",
"description": "<p>This argument is in beta and subject to change. A collection of reviewers and\nassociated file patterns. Each reviewer has a list of file patterns which\ndetermine the files that reviewer is required to review.</p>",
"type": "[RequiredReviewerConfigurationInput!]",
"id": "requiredreviewerconfigurationinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput"
} }
] ]
}, },
@@ -107388,6 +107437,39 @@
} }
] ]
}, },
{
"name": "RequiredReviewerConfigurationInput",
"kind": "inputObjects",
"id": "requiredreviewerconfigurationinput",
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput",
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
"inputFields": [
{
"name": "filePatterns",
"description": "<p>Array of file patterns. Pull requests which change matching files must be\napproved by the specified team. File patterns use fnmatch syntax.</p>",
"type": "[String!]!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "minimumApprovals",
"description": "<p>Minimum number of approvals required from the specified team. If set to zero,\nthe team will be added to the pull request but approval is optional.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "reviewerId",
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id"
}
]
},
{ {
"name": "RequiredStatusCheckInput", "name": "RequiredStatusCheckInput",
"kind": "inputObjects", "kind": "inputObjects",

View File

@@ -41909,6 +41909,13 @@ type PullRequestParameters {
All conversations on code must be resolved before a pull request can be merged. All conversations on code must be resolved before a pull request can be merged.
""" """
requiredReviewThreadResolution: Boolean! requiredReviewThreadResolution: Boolean!
"""
This field is in beta and subject to change. A collection of reviewers and
associated file patterns. Each reviewer has a list of file patterns which
determine the files that reviewer is required to review.
"""
requiredReviewers: [RequiredReviewerConfiguration!]
} }
""" """
@@ -41950,6 +41957,13 @@ input PullRequestParametersInput {
All conversations on code must be resolved before a pull request can be merged. All conversations on code must be resolved before a pull request can be merged.
""" """
requiredReviewThreadResolution: Boolean! requiredReviewThreadResolution: Boolean!
"""
This argument is in beta and subject to change. A collection of reviewers and
associated file patterns. Each reviewer has a list of file patterns which
determine the files that reviewer is required to review.
"""
requiredReviewers: [RequiredReviewerConfigurationInput!]
} }
""" """
@@ -54516,6 +54530,50 @@ input RequiredDeploymentsParametersInput {
requiredDeploymentEnvironments: [String!]! requiredDeploymentEnvironments: [String!]!
} }
"""
A reviewing team, and file patterns describing which files they must approve changes to.
"""
type RequiredReviewerConfiguration {
"""
Array of file patterns. Pull requests which change matching files must be
approved by the specified team. File patterns use fnmatch syntax.
"""
filePatterns: [String!]!
"""
Minimum number of approvals required from the specified team. If set to zero,
the team will be added to the pull request but approval is optional.
"""
minimumApprovals: Int!
"""
Node ID of the team which must review changes to matching files.
"""
reviewerId: ID!
}
"""
A reviewing team, and file patterns describing which files they must approve changes to.
"""
input RequiredReviewerConfigurationInput {
"""
Array of file patterns. Pull requests which change matching files must be
approved by the specified team. File patterns use fnmatch syntax.
"""
filePatterns: [String!]!
"""
Minimum number of approvals required from the specified team. If set to zero,
the team will be added to the pull request but approval is optional.
"""
minimumApprovals: Int!
"""
Node ID of the team which must review changes to matching files.
"""
reviewerId: ID!
}
""" """
Represents a required status check for a protected branch, but not any specific run of that check. Represents a required status check for a protected branch, but not any specific run of that check.
""" """

View File

@@ -56179,6 +56179,14 @@
"id": "boolean", "id": "boolean",
"kind": "scalars", "kind": "scalars",
"href": "/graphql/reference/scalars#boolean" "href": "/graphql/reference/scalars#boolean"
},
{
"name": "requiredReviewers",
"description": "<p>This field is in beta and subject to change. A collection of reviewers and\nassociated file patterns. Each reviewer has a list of file patterns which\ndetermine the files that reviewer is required to review.</p>",
"type": "[RequiredReviewerConfiguration!]",
"id": "requiredreviewerconfiguration",
"kind": "objects",
"href": "/graphql/reference/objects#requiredreviewerconfiguration"
} }
] ]
}, },
@@ -70829,6 +70837,39 @@
} }
] ]
}, },
{
"name": "RequiredReviewerConfiguration",
"kind": "objects",
"id": "requiredreviewerconfiguration",
"href": "/graphql/reference/objects#requiredreviewerconfiguration",
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
"fields": [
{
"name": "filePatterns",
"description": "<p>Array of file patterns. Pull requests which change matching files must be\napproved by the specified team. File patterns use fnmatch syntax.</p>",
"type": "[String!]!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "minimumApprovals",
"description": "<p>Minimum number of approvals required from the specified team. If set to zero,\nthe team will be added to the pull request but approval is optional.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "reviewerId",
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id"
}
]
},
{ {
"name": "RequiredStatusCheckDescription", "name": "RequiredStatusCheckDescription",
"kind": "objects", "kind": "objects",
@@ -106132,6 +106173,14 @@
"id": "boolean", "id": "boolean",
"kind": "scalars", "kind": "scalars",
"href": "/graphql/reference/scalars#boolean" "href": "/graphql/reference/scalars#boolean"
},
{
"name": "requiredReviewers",
"description": "<p>This argument is in beta and subject to change. A collection of reviewers and\nassociated file patterns. Each reviewer has a list of file patterns which\ndetermine the files that reviewer is required to review.</p>",
"type": "[RequiredReviewerConfigurationInput!]",
"id": "requiredreviewerconfigurationinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput"
} }
] ]
}, },
@@ -107388,6 +107437,39 @@
} }
] ]
}, },
{
"name": "RequiredReviewerConfigurationInput",
"kind": "inputObjects",
"id": "requiredreviewerconfigurationinput",
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput",
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
"inputFields": [
{
"name": "filePatterns",
"description": "<p>Array of file patterns. Pull requests which change matching files must be\napproved by the specified team. File patterns use fnmatch syntax.</p>",
"type": "[String!]!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "minimumApprovals",
"description": "<p>Minimum number of approvals required from the specified team. If set to zero,\nthe team will be added to the pull request but approval is optional.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "reviewerId",
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id"
}
]
},
{ {
"name": "RequiredStatusCheckInput", "name": "RequiredStatusCheckInput",
"kind": "inputObjects", "kind": "inputObjects",