Skip to content

Commit 8f1de75

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#58485)
Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
1 parent bed7243 commit 8f1de75

File tree

5 files changed

+296
-0
lines changed

5 files changed

+296
-0
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>RequiredReviewerConfiguration</code> was added</p>",
8+
"<p>Type <code>RequiredReviewerConfigurationInput</code> was added</p>",
9+
"<p>Field <code>requiredReviewers</code> was added to object type <code>PullRequestParameters</code></p>",
10+
"<p>Input field <code>requiredReviewers</code> of type '[RequiredReviewerConfigurationInput!]<code>was added to input object type</code>PullRequestParametersInput'</p>"
11+
]
12+
}
13+
],
14+
"previewChanges": [],
15+
"upcomingChanges": [],
16+
"date": "2025-11-13"
17+
},
218
{
319
"schemaChanges": [
420
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41909,6 +41909,13 @@ type PullRequestParameters {
4190941909
All conversations on code must be resolved before a pull request can be merged.
4191041910
"""
4191141911
requiredReviewThreadResolution: Boolean!
41912+
41913+
"""
41914+
This field is in beta and subject to change. A collection of reviewers and
41915+
associated file patterns. Each reviewer has a list of file patterns which
41916+
determine the files that reviewer is required to review.
41917+
"""
41918+
requiredReviewers: [RequiredReviewerConfiguration!]
4191241919
}
4191341920

4191441921
"""
@@ -41950,6 +41957,13 @@ input PullRequestParametersInput {
4195041957
All conversations on code must be resolved before a pull request can be merged.
4195141958
"""
4195241959
requiredReviewThreadResolution: Boolean!
41960+
41961+
"""
41962+
This argument is in beta and subject to change. A collection of reviewers and
41963+
associated file patterns. Each reviewer has a list of file patterns which
41964+
determine the files that reviewer is required to review.
41965+
"""
41966+
requiredReviewers: [RequiredReviewerConfigurationInput!]
4195341967
}
4195441968

4195541969
"""
@@ -54516,6 +54530,50 @@ input RequiredDeploymentsParametersInput {
5451654530
requiredDeploymentEnvironments: [String!]!
5451754531
}
5451854532

54533+
"""
54534+
A reviewing team, and file patterns describing which files they must approve changes to.
54535+
"""
54536+
type RequiredReviewerConfiguration {
54537+
"""
54538+
Array of file patterns. Pull requests which change matching files must be
54539+
approved by the specified team. File patterns use fnmatch syntax.
54540+
"""
54541+
filePatterns: [String!]!
54542+
54543+
"""
54544+
Minimum number of approvals required from the specified team. If set to zero,
54545+
the team will be added to the pull request but approval is optional.
54546+
"""
54547+
minimumApprovals: Int!
54548+
54549+
"""
54550+
Node ID of the team which must review changes to matching files.
54551+
"""
54552+
reviewerId: ID!
54553+
}
54554+
54555+
"""
54556+
A reviewing team, and file patterns describing which files they must approve changes to.
54557+
"""
54558+
input RequiredReviewerConfigurationInput {
54559+
"""
54560+
Array of file patterns. Pull requests which change matching files must be
54561+
approved by the specified team. File patterns use fnmatch syntax.
54562+
"""
54563+
filePatterns: [String!]!
54564+
54565+
"""
54566+
Minimum number of approvals required from the specified team. If set to zero,
54567+
the team will be added to the pull request but approval is optional.
54568+
"""
54569+
minimumApprovals: Int!
54570+
54571+
"""
54572+
Node ID of the team which must review changes to matching files.
54573+
"""
54574+
reviewerId: ID!
54575+
}
54576+
5451954577
"""
5452054578
Represents a required status check for a protected branch, but not any specific run of that check.
5452154579
"""

src/graphql/data/fpt/schema.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56179,6 +56179,14 @@
5617956179
"id": "boolean",
5618056180
"kind": "scalars",
5618156181
"href": "/graphql/reference/scalars#boolean"
56182+
},
56183+
{
56184+
"name": "requiredReviewers",
56185+
"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>",
56186+
"type": "[RequiredReviewerConfiguration!]",
56187+
"id": "requiredreviewerconfiguration",
56188+
"kind": "objects",
56189+
"href": "/graphql/reference/objects#requiredreviewerconfiguration"
5618256190
}
5618356191
]
5618456192
},
@@ -70829,6 +70837,39 @@
7082970837
}
7083070838
]
7083170839
},
70840+
{
70841+
"name": "RequiredReviewerConfiguration",
70842+
"kind": "objects",
70843+
"id": "requiredreviewerconfiguration",
70844+
"href": "/graphql/reference/objects#requiredreviewerconfiguration",
70845+
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
70846+
"fields": [
70847+
{
70848+
"name": "filePatterns",
70849+
"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>",
70850+
"type": "[String!]!",
70851+
"id": "string",
70852+
"kind": "scalars",
70853+
"href": "/graphql/reference/scalars#string"
70854+
},
70855+
{
70856+
"name": "minimumApprovals",
70857+
"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>",
70858+
"type": "Int!",
70859+
"id": "int",
70860+
"kind": "scalars",
70861+
"href": "/graphql/reference/scalars#int"
70862+
},
70863+
{
70864+
"name": "reviewerId",
70865+
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
70866+
"type": "ID!",
70867+
"id": "id",
70868+
"kind": "scalars",
70869+
"href": "/graphql/reference/scalars#id"
70870+
}
70871+
]
70872+
},
7083270873
{
7083370874
"name": "RequiredStatusCheckDescription",
7083470875
"kind": "objects",
@@ -106132,6 +106173,14 @@
106132106173
"id": "boolean",
106133106174
"kind": "scalars",
106134106175
"href": "/graphql/reference/scalars#boolean"
106176+
},
106177+
{
106178+
"name": "requiredReviewers",
106179+
"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>",
106180+
"type": "[RequiredReviewerConfigurationInput!]",
106181+
"id": "requiredreviewerconfigurationinput",
106182+
"kind": "input-objects",
106183+
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput"
106135106184
}
106136106185
]
106137106186
},
@@ -107388,6 +107437,39 @@
107388107437
}
107389107438
]
107390107439
},
107440+
{
107441+
"name": "RequiredReviewerConfigurationInput",
107442+
"kind": "inputObjects",
107443+
"id": "requiredreviewerconfigurationinput",
107444+
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput",
107445+
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
107446+
"inputFields": [
107447+
{
107448+
"name": "filePatterns",
107449+
"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>",
107450+
"type": "[String!]!",
107451+
"id": "string",
107452+
"kind": "scalars",
107453+
"href": "/graphql/reference/scalars#string"
107454+
},
107455+
{
107456+
"name": "minimumApprovals",
107457+
"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>",
107458+
"type": "Int!",
107459+
"id": "int",
107460+
"kind": "scalars",
107461+
"href": "/graphql/reference/scalars#int"
107462+
},
107463+
{
107464+
"name": "reviewerId",
107465+
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
107466+
"type": "ID!",
107467+
"id": "id",
107468+
"kind": "scalars",
107469+
"href": "/graphql/reference/scalars#id"
107470+
}
107471+
]
107472+
},
107391107473
{
107392107474
"name": "RequiredStatusCheckInput",
107393107475
"kind": "inputObjects",

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41909,6 +41909,13 @@ type PullRequestParameters {
4190941909
All conversations on code must be resolved before a pull request can be merged.
4191041910
"""
4191141911
requiredReviewThreadResolution: Boolean!
41912+
41913+
"""
41914+
This field is in beta and subject to change. A collection of reviewers and
41915+
associated file patterns. Each reviewer has a list of file patterns which
41916+
determine the files that reviewer is required to review.
41917+
"""
41918+
requiredReviewers: [RequiredReviewerConfiguration!]
4191241919
}
4191341920

4191441921
"""
@@ -41950,6 +41957,13 @@ input PullRequestParametersInput {
4195041957
All conversations on code must be resolved before a pull request can be merged.
4195141958
"""
4195241959
requiredReviewThreadResolution: Boolean!
41960+
41961+
"""
41962+
This argument is in beta and subject to change. A collection of reviewers and
41963+
associated file patterns. Each reviewer has a list of file patterns which
41964+
determine the files that reviewer is required to review.
41965+
"""
41966+
requiredReviewers: [RequiredReviewerConfigurationInput!]
4195341967
}
4195441968

4195541969
"""
@@ -54516,6 +54530,50 @@ input RequiredDeploymentsParametersInput {
5451654530
requiredDeploymentEnvironments: [String!]!
5451754531
}
5451854532

54533+
"""
54534+
A reviewing team, and file patterns describing which files they must approve changes to.
54535+
"""
54536+
type RequiredReviewerConfiguration {
54537+
"""
54538+
Array of file patterns. Pull requests which change matching files must be
54539+
approved by the specified team. File patterns use fnmatch syntax.
54540+
"""
54541+
filePatterns: [String!]!
54542+
54543+
"""
54544+
Minimum number of approvals required from the specified team. If set to zero,
54545+
the team will be added to the pull request but approval is optional.
54546+
"""
54547+
minimumApprovals: Int!
54548+
54549+
"""
54550+
Node ID of the team which must review changes to matching files.
54551+
"""
54552+
reviewerId: ID!
54553+
}
54554+
54555+
"""
54556+
A reviewing team, and file patterns describing which files they must approve changes to.
54557+
"""
54558+
input RequiredReviewerConfigurationInput {
54559+
"""
54560+
Array of file patterns. Pull requests which change matching files must be
54561+
approved by the specified team. File patterns use fnmatch syntax.
54562+
"""
54563+
filePatterns: [String!]!
54564+
54565+
"""
54566+
Minimum number of approvals required from the specified team. If set to zero,
54567+
the team will be added to the pull request but approval is optional.
54568+
"""
54569+
minimumApprovals: Int!
54570+
54571+
"""
54572+
Node ID of the team which must review changes to matching files.
54573+
"""
54574+
reviewerId: ID!
54575+
}
54576+
5451954577
"""
5452054578
Represents a required status check for a protected branch, but not any specific run of that check.
5452154579
"""

src/graphql/data/ghec/schema.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56179,6 +56179,14 @@
5617956179
"id": "boolean",
5618056180
"kind": "scalars",
5618156181
"href": "/graphql/reference/scalars#boolean"
56182+
},
56183+
{
56184+
"name": "requiredReviewers",
56185+
"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>",
56186+
"type": "[RequiredReviewerConfiguration!]",
56187+
"id": "requiredreviewerconfiguration",
56188+
"kind": "objects",
56189+
"href": "/graphql/reference/objects#requiredreviewerconfiguration"
5618256190
}
5618356191
]
5618456192
},
@@ -70829,6 +70837,39 @@
7082970837
}
7083070838
]
7083170839
},
70840+
{
70841+
"name": "RequiredReviewerConfiguration",
70842+
"kind": "objects",
70843+
"id": "requiredreviewerconfiguration",
70844+
"href": "/graphql/reference/objects#requiredreviewerconfiguration",
70845+
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
70846+
"fields": [
70847+
{
70848+
"name": "filePatterns",
70849+
"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>",
70850+
"type": "[String!]!",
70851+
"id": "string",
70852+
"kind": "scalars",
70853+
"href": "/graphql/reference/scalars#string"
70854+
},
70855+
{
70856+
"name": "minimumApprovals",
70857+
"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>",
70858+
"type": "Int!",
70859+
"id": "int",
70860+
"kind": "scalars",
70861+
"href": "/graphql/reference/scalars#int"
70862+
},
70863+
{
70864+
"name": "reviewerId",
70865+
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
70866+
"type": "ID!",
70867+
"id": "id",
70868+
"kind": "scalars",
70869+
"href": "/graphql/reference/scalars#id"
70870+
}
70871+
]
70872+
},
7083270873
{
7083370874
"name": "RequiredStatusCheckDescription",
7083470875
"kind": "objects",
@@ -106132,6 +106173,14 @@
106132106173
"id": "boolean",
106133106174
"kind": "scalars",
106134106175
"href": "/graphql/reference/scalars#boolean"
106176+
},
106177+
{
106178+
"name": "requiredReviewers",
106179+
"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>",
106180+
"type": "[RequiredReviewerConfigurationInput!]",
106181+
"id": "requiredreviewerconfigurationinput",
106182+
"kind": "input-objects",
106183+
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput"
106135106184
}
106136106185
]
106137106186
},
@@ -107388,6 +107437,39 @@
107388107437
}
107389107438
]
107390107439
},
107440+
{
107441+
"name": "RequiredReviewerConfigurationInput",
107442+
"kind": "inputObjects",
107443+
"id": "requiredreviewerconfigurationinput",
107444+
"href": "/graphql/reference/input-objects#requiredreviewerconfigurationinput",
107445+
"description": "<p>A reviewing team, and file patterns describing which files they must approve changes to.</p>",
107446+
"inputFields": [
107447+
{
107448+
"name": "filePatterns",
107449+
"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>",
107450+
"type": "[String!]!",
107451+
"id": "string",
107452+
"kind": "scalars",
107453+
"href": "/graphql/reference/scalars#string"
107454+
},
107455+
{
107456+
"name": "minimumApprovals",
107457+
"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>",
107458+
"type": "Int!",
107459+
"id": "int",
107460+
"kind": "scalars",
107461+
"href": "/graphql/reference/scalars#int"
107462+
},
107463+
{
107464+
"name": "reviewerId",
107465+
"description": "<p>Node ID of the team which must review changes to matching files.</p>",
107466+
"type": "ID!",
107467+
"id": "id",
107468+
"kind": "scalars",
107469+
"href": "/graphql/reference/scalars#id"
107470+
}
107471+
]
107472+
},
107391107473
{
107392107474
"name": "RequiredStatusCheckInput",
107393107475
"kind": "inputObjects",

0 commit comments

Comments
 (0)