Skip to content

Commit 0fcb228

Browse files
GraphQL schema update (#62193)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent 0c0a125 commit 0fcb228

9 files changed

Lines changed: 237 additions & 8 deletions

src/graphql/data/fpt/category-map.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@
806806
"converttodraftevent": "pulls",
807807
"convertedfromdraftevent": "pulls",
808808
"copilotcodereviewparameters": "pulls",
809+
"dismissalrestriction": "pulls",
809810
"headrefdeletedevent": "pulls",
810811
"headrefforcepushedevent": "pulls",
811812
"headrefrestoredevent": "pulls",
@@ -1685,6 +1686,7 @@
16851686
"dequeuepullrequestinput": "pulls",
16861687
"disablepullrequestautomergeinput": "pulls",
16871688
"dismisspullrequestreviewinput": "pulls",
1689+
"dismissalrestrictioninput": "pulls",
16881690
"draftpullrequestreviewcomment": "pulls",
16891691
"draftpullrequestreviewthread": "pulls",
16901692
"enablepullrequestautomergeinput": "pulls",

src/graphql/data/fpt/changelog.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>DismissalRestriction</code> was added</p>",
8+
"<p>Field <code>allowedActors</code> was added to object type <code>DismissalRestriction</code></p>",
9+
"<p>Field <code>enabled</code> was added to object type <code>DismissalRestriction</code></p>",
10+
"<p>Type <code>DismissalRestrictionInput</code> was added</p>",
11+
"<p>Input field <code>allowedActors</code> of type '[ID!]<code>was added to input object type</code>DismissalRestrictionInput'</p>",
12+
"<p>Input field <code>enabled</code> of type <code>Boolean!</code> was added to input object type <code>DismissalRestrictionInput</code></p>",
13+
"<p>Input field <code>AddAssigneesToAssignableInput.assigneeIds</code> changed type from '[ID!]!<code>to</code>[ID!]'</p>",
14+
"<p>Field <code>dismissalRestriction</code> was added to object type <code>PullRequestParameters</code></p>",
15+
"<p>Input field <code>dismissalRestriction</code> of type <code>DismissalRestrictionInput</code> was added to input object type <code>PullRequestParametersInput</code></p>"
16+
]
17+
}
18+
],
19+
"previewChanges": [],
20+
"upcomingChanges": [],
21+
"date": "2026-07-08"
22+
},
223
{
324
"schemaChanges": [
425
{

src/graphql/data/fpt/schema-issues.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10224,8 +10224,8 @@
1022410224
},
1022510225
{
1022610226
"name": "assigneeIds",
10227-
"description": "<p>The ids of actors (users or bots) to add as assignees.</p>",
10228-
"type": "[ID!]!",
10227+
"description": "<p>The ids of actors (users or bots) to add as assignees. Mutually exclusive with <code>assignees</code>.</p>",
10228+
"type": "[ID!]",
1022910229
"id": "id",
1023010230
"href": "/graphql/reference/other#scalar-id",
1023110231
"isDeprecated": false

src/graphql/data/fpt/schema-pulls.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,30 @@
19611961
],
19621962
"category": "pulls"
19631963
},
1964+
{
1965+
"name": "DismissalRestriction",
1966+
"id": "dismissalrestriction",
1967+
"href": "/graphql/reference/pulls#object-dismissalrestriction",
1968+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
1969+
"isDeprecated": false,
1970+
"fields": [
1971+
{
1972+
"name": "allowedActors",
1973+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
1974+
"type": "[ID!]",
1975+
"id": "id",
1976+
"href": "/graphql/reference/other#scalar-id"
1977+
},
1978+
{
1979+
"name": "enabled",
1980+
"description": "<p>Whether to restrict review dismissal to specific actors.</p>",
1981+
"type": "Boolean!",
1982+
"id": "boolean",
1983+
"href": "/graphql/reference/other#scalar-boolean"
1984+
}
1985+
],
1986+
"category": "pulls"
1987+
},
19641988
{
19651989
"name": "HeadRefDeletedEvent",
19661990
"id": "headrefdeletedevent",
@@ -5055,6 +5079,13 @@
50555079
"id": "boolean",
50565080
"href": "/graphql/reference/other#scalar-boolean"
50575081
},
5082+
{
5083+
"name": "dismissalRestriction",
5084+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
5085+
"type": "DismissalRestriction",
5086+
"id": "dismissalrestriction",
5087+
"href": "/graphql/reference/pulls#object-dismissalrestriction"
5088+
},
50585089
{
50595090
"name": "requireCodeOwnerReview",
50605091
"description": "<p>Require an approving review in pull requests that modify files that have a designated code owner.</p>",
@@ -9310,6 +9341,30 @@
93109341
],
93119342
"category": "pulls"
93129343
},
9344+
{
9345+
"name": "DismissalRestrictionInput",
9346+
"id": "dismissalrestrictioninput",
9347+
"href": "/graphql/reference/pulls#input-object-dismissalrestrictioninput",
9348+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
9349+
"isDeprecated": false,
9350+
"inputFields": [
9351+
{
9352+
"name": "allowedActors",
9353+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
9354+
"type": "[ID!]",
9355+
"id": "id",
9356+
"href": "/graphql/reference/other#scalar-id"
9357+
},
9358+
{
9359+
"name": "enabled",
9360+
"description": "<p>Whether to restrict review dismissal to specific actors.</p>",
9361+
"type": "Boolean!",
9362+
"id": "boolean",
9363+
"href": "/graphql/reference/other#scalar-boolean"
9364+
}
9365+
],
9366+
"category": "pulls"
9367+
},
93139368
{
93149369
"name": "DraftPullRequestReviewComment",
93159370
"id": "draftpullrequestreviewcomment",
@@ -9708,6 +9763,13 @@
97089763
"id": "boolean",
97099764
"href": "/graphql/reference/other#scalar-boolean"
97109765
},
9766+
{
9767+
"name": "dismissalRestriction",
9768+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
9769+
"type": "DismissalRestrictionInput",
9770+
"id": "dismissalrestrictioninput",
9771+
"href": "/graphql/reference/pulls#input-object-dismissalrestrictioninput"
9772+
},
97119773
{
97129774
"name": "requireCodeOwnerReview",
97139775
"description": "<p>Require an approving review in pull requests that modify files that have a designated code owner.</p>",

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

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ input AddAssigneesToAssignableInput {
376376
assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable")
377377

378378
"""
379-
The ids of actors (users or bots) to add as assignees.
379+
The ids of actors (users or bots) to add as assignees. Mutually exclusive with `assignees`.
380380
"""
381-
assigneeIds: [ID!]!
381+
assigneeIds: [ID!]
382382
@possibleTypes(
383383
concreteTypes: ["Bot", "EnterpriseUserAccount", "Mannequin", "Organization", "User"]
384384
abstractType: "Actor"
@@ -13559,6 +13559,36 @@ type DismissRepositoryVulnerabilityAlertPayload {
1355913559
repositoryVulnerabilityAlert: RepositoryVulnerabilityAlert
1356013560
}
1356113561

13562+
"""
13563+
Specify people, teams, or apps allowed to dismiss pull request reviews.
13564+
"""
13565+
type DismissalRestriction @docsCategory(name: "pulls") {
13566+
"""
13567+
Specify people, teams, or apps allowed to dismiss pull request reviews.
13568+
"""
13569+
allowedActors: [ID!]
13570+
13571+
"""
13572+
Whether to restrict review dismissal to specific actors.
13573+
"""
13574+
enabled: Boolean!
13575+
}
13576+
13577+
"""
13578+
Specify people, teams, or apps allowed to dismiss pull request reviews.
13579+
"""
13580+
input DismissalRestrictionInput @docsCategory(name: "pulls") {
13581+
"""
13582+
Specify people, teams, or apps allowed to dismiss pull request reviews.
13583+
"""
13584+
allowedActors: [ID!]
13585+
13586+
"""
13587+
Whether to restrict review dismissal to specific actors.
13588+
"""
13589+
enabled: Boolean!
13590+
}
13591+
1356213592
"""
1356313593
A draft issue within a project.
1356413594
"""
@@ -44339,6 +44369,11 @@ type PullRequestParameters @docsCategory(name: "pulls") {
4433944369
"""
4434044370
dismissStaleReviewsOnPush: Boolean!
4434144371

44372+
"""
44373+
Specify people, teams, or apps allowed to dismiss pull request reviews.
44374+
"""
44375+
dismissalRestriction: DismissalRestriction
44376+
4434244377
"""
4434344378
Require an approving review in pull requests that modify files that have a designated code owner.
4434444379
"""
@@ -44382,6 +44417,11 @@ input PullRequestParametersInput @docsCategory(name: "pulls") {
4438244417
"""
4438344418
dismissStaleReviewsOnPush: Boolean!
4438444419

44420+
"""
44421+
Specify people, teams, or apps allowed to dismiss pull request reviews.
44422+
"""
44423+
dismissalRestriction: DismissalRestrictionInput
44424+
4438544425
"""
4438644426
Require an approving review in pull requests that modify files that have a designated code owner.
4438744427
"""

src/graphql/data/ghec/category-map.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@
806806
"converttodraftevent": "pulls",
807807
"convertedfromdraftevent": "pulls",
808808
"copilotcodereviewparameters": "pulls",
809+
"dismissalrestriction": "pulls",
809810
"headrefdeletedevent": "pulls",
810811
"headrefforcepushedevent": "pulls",
811812
"headrefrestoredevent": "pulls",
@@ -1685,6 +1686,7 @@
16851686
"dequeuepullrequestinput": "pulls",
16861687
"disablepullrequestautomergeinput": "pulls",
16871688
"dismisspullrequestreviewinput": "pulls",
1689+
"dismissalrestrictioninput": "pulls",
16881690
"draftpullrequestreviewcomment": "pulls",
16891691
"draftpullrequestreviewthread": "pulls",
16901692
"enablepullrequestautomergeinput": "pulls",

src/graphql/data/ghec/schema-issues.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10224,8 +10224,8 @@
1022410224
},
1022510225
{
1022610226
"name": "assigneeIds",
10227-
"description": "<p>The ids of actors (users or bots) to add as assignees.</p>",
10228-
"type": "[ID!]!",
10227+
"description": "<p>The ids of actors (users or bots) to add as assignees. Mutually exclusive with <code>assignees</code>.</p>",
10228+
"type": "[ID!]",
1022910229
"id": "id",
1023010230
"href": "/graphql/reference/other#scalar-id",
1023110231
"isDeprecated": false

src/graphql/data/ghec/schema-pulls.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,30 @@
19611961
],
19621962
"category": "pulls"
19631963
},
1964+
{
1965+
"name": "DismissalRestriction",
1966+
"id": "dismissalrestriction",
1967+
"href": "/graphql/reference/pulls#object-dismissalrestriction",
1968+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
1969+
"isDeprecated": false,
1970+
"fields": [
1971+
{
1972+
"name": "allowedActors",
1973+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
1974+
"type": "[ID!]",
1975+
"id": "id",
1976+
"href": "/graphql/reference/other#scalar-id"
1977+
},
1978+
{
1979+
"name": "enabled",
1980+
"description": "<p>Whether to restrict review dismissal to specific actors.</p>",
1981+
"type": "Boolean!",
1982+
"id": "boolean",
1983+
"href": "/graphql/reference/other#scalar-boolean"
1984+
}
1985+
],
1986+
"category": "pulls"
1987+
},
19641988
{
19651989
"name": "HeadRefDeletedEvent",
19661990
"id": "headrefdeletedevent",
@@ -5055,6 +5079,13 @@
50555079
"id": "boolean",
50565080
"href": "/graphql/reference/other#scalar-boolean"
50575081
},
5082+
{
5083+
"name": "dismissalRestriction",
5084+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
5085+
"type": "DismissalRestriction",
5086+
"id": "dismissalrestriction",
5087+
"href": "/graphql/reference/pulls#object-dismissalrestriction"
5088+
},
50585089
{
50595090
"name": "requireCodeOwnerReview",
50605091
"description": "<p>Require an approving review in pull requests that modify files that have a designated code owner.</p>",
@@ -9310,6 +9341,30 @@
93109341
],
93119342
"category": "pulls"
93129343
},
9344+
{
9345+
"name": "DismissalRestrictionInput",
9346+
"id": "dismissalrestrictioninput",
9347+
"href": "/graphql/reference/pulls#input-object-dismissalrestrictioninput",
9348+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
9349+
"isDeprecated": false,
9350+
"inputFields": [
9351+
{
9352+
"name": "allowedActors",
9353+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
9354+
"type": "[ID!]",
9355+
"id": "id",
9356+
"href": "/graphql/reference/other#scalar-id"
9357+
},
9358+
{
9359+
"name": "enabled",
9360+
"description": "<p>Whether to restrict review dismissal to specific actors.</p>",
9361+
"type": "Boolean!",
9362+
"id": "boolean",
9363+
"href": "/graphql/reference/other#scalar-boolean"
9364+
}
9365+
],
9366+
"category": "pulls"
9367+
},
93139368
{
93149369
"name": "DraftPullRequestReviewComment",
93159370
"id": "draftpullrequestreviewcomment",
@@ -9708,6 +9763,13 @@
97089763
"id": "boolean",
97099764
"href": "/graphql/reference/other#scalar-boolean"
97109765
},
9766+
{
9767+
"name": "dismissalRestriction",
9768+
"description": "<p>Specify people, teams, or apps allowed to dismiss pull request reviews.</p>",
9769+
"type": "DismissalRestrictionInput",
9770+
"id": "dismissalrestrictioninput",
9771+
"href": "/graphql/reference/pulls#input-object-dismissalrestrictioninput"
9772+
},
97119773
{
97129774
"name": "requireCodeOwnerReview",
97139775
"description": "<p>Require an approving review in pull requests that modify files that have a designated code owner.</p>",

0 commit comments

Comments
 (0)