Skip to content

Commit d3023cf

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

9 files changed

Lines changed: 615 additions & 0 deletions

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@
257257
"mergepullrequest": "pulls",
258258
"removepullrequestcreationcapbypassusers": "pulls",
259259
"reopenpullrequest": "pulls",
260+
"requestcopilotcodereview": "pulls",
260261
"requestreviews": "pulls",
261262
"requestreviewsbylogin": "pulls",
262263
"rerequestreviews": "pulls",
@@ -1363,6 +1364,8 @@
13631364
"teamreviewassignmentalgorithm": "teams",
13641365
"teamrole": "teams",
13651366
"codequalityseverity": "code-scanning",
1367+
"copilotcoderevieweffort": "copilot",
1368+
"copilotcodereviewrequestreason": "copilot",
13661369
"dependencygraphecosystem": "dependency-graph",
13671370
"gistorderfield": "gists",
13681371
"gistprivacy": "gists",
@@ -1754,6 +1757,7 @@
17541757
"pullrequestparametersinput": "pulls",
17551758
"removepullrequestcreationcapbypassusersinput": "pulls",
17561759
"reopenpullrequestinput": "pulls",
1760+
"requestcopilotcodereviewinput": "pulls",
17571761
"requestreviewsbylogininput": "pulls",
17581762
"requestreviewsinput": "pulls",
17591763
"requiredreviewerconfigurationinput": "pulls",

‎src/graphql/data/fpt/changelog.json‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,41 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>CopilotCodeReviewEffort</code> was added</p>",
8+
"<p>Enum value <code>AUTO</code> was added to enum <code>CopilotCodeReviewEffort</code></p>",
9+
"<p>Enum value <code>BALANCED</code> was added to enum <code>CopilotCodeReviewEffort</code></p>",
10+
"<p>Enum value <code>LITE</code> was added to enum <code>CopilotCodeReviewEffort</code></p>",
11+
"<p>Enum value <code>MAX</code> was added to enum <code>CopilotCodeReviewEffort</code></p>",
12+
"<p>Type <code>CopilotCodeReviewRequestReason</code> was added</p>",
13+
"<p>Enum value <code>ACTOR_INELIGIBLE</code> was added to enum <code>CopilotCodeReviewRequestReason</code></p>",
14+
"<p>Enum value <code>APP_NOT_INSTALLED</code> was added to enum <code>CopilotCodeReviewRequestReason</code></p>",
15+
"<p>Enum value <code>LICENSED_ORGANIZATION_UNAVAILABLE</code> was added to enum <code>CopilotCodeReviewRequestReason</code></p>",
16+
"<p>Enum value <code>NO_QUOTA_REMAINING</code> was added to enum <code>CopilotCodeReviewRequestReason</code></p>",
17+
"<p>Enum value <code>REPOSITORY_INELIGIBLE</code> was added to enum <code>CopilotCodeReviewRequestReason</code></p>",
18+
"<p>Enum value <code>REQUEST_CONFLICT</code> was added to enum <code>CopilotCodeReviewRequestReason</code></p>",
19+
"<p>Type <code>RequestCopilotCodeReviewInput</code> was added</p>",
20+
"<p>Input field <code>clientMutationId</code> of type <code>String</code> was added to input object type <code>RequestCopilotCodeReviewInput</code></p>",
21+
"<p>Input field <code>pullRequestId</code> of type <code>ID!</code> was added to input object type <code>RequestCopilotCodeReviewInput</code></p>",
22+
"<p>Input field <code>reviewEffort</code> of type <code>CopilotCodeReviewEffort</code> was added to input object type <code>RequestCopilotCodeReviewInput</code></p>",
23+
"<p>Type <code>RequestCopilotCodeReviewPayload</code> was added</p>",
24+
"<p>Field <code>actor</code> was added to object type <code>RequestCopilotCodeReviewPayload</code></p>",
25+
"<p>Field <code>clientMutationId</code> was added to object type <code>RequestCopilotCodeReviewPayload</code></p>",
26+
"<p>Field <code>failureReason</code> was added to object type <code>RequestCopilotCodeReviewPayload</code></p>",
27+
"<p>Field <code>pullRequest</code> was added to object type <code>RequestCopilotCodeReviewPayload</code></p>",
28+
"<p>Field <code>reviewRequest</code> was added to object type <code>RequestCopilotCodeReviewPayload</code></p>",
29+
"<p>Field <code>success</code> was added to object type <code>RequestCopilotCodeReviewPayload</code></p>",
30+
"<p>Field <code>requestCopilotCodeReview</code> was added to object type <code>Mutation</code></p>",
31+
"<p>Argument <code>input: RequestCopilotCodeReviewInput!</code> added to field <code>Mutation.requestCopilotCodeReview</code></p>"
32+
]
33+
}
34+
],
35+
"previewChanges": [],
36+
"upcomingChanges": [],
37+
"date": "2026-11-03"
38+
},
239
{
340
"schemaChanges": [
441
{

‎src/graphql/data/fpt/schema-copilot.json‎

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,67 @@
8585
],
8686
"category": "copilot"
8787
}
88+
],
89+
"enums": [
90+
{
91+
"name": "CopilotCodeReviewEffort",
92+
"id": "copilotcoderevieweffort",
93+
"href": "/graphql/reference/copilot#enum-copilotcoderevieweffort",
94+
"description": "<p>The effort level for a Copilot code review. For more information, see <a href=\"https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level\">Review effort level</a>.</p>",
95+
"isDeprecated": false,
96+
"values": [
97+
{
98+
"name": "AUTO",
99+
"description": "<p>Copilot picks the effort for each pull request.</p>"
100+
},
101+
{
102+
"name": "BALANCED",
103+
"description": "<p>Balanced effort and depth.</p>"
104+
},
105+
{
106+
"name": "LITE",
107+
"description": "<p>Lower effort, faster review.</p>"
108+
},
109+
{
110+
"name": "MAX",
111+
"description": "<p>Highest effort, deepest review.</p>"
112+
}
113+
],
114+
"category": "copilot"
115+
},
116+
{
117+
"name": "CopilotCodeReviewRequestReason",
118+
"id": "copilotcodereviewrequestreason",
119+
"href": "/graphql/reference/copilot#enum-copilotcodereviewrequestreason",
120+
"description": "<p>The stable reason a Copilot code review request was denied or conflicted with an existing request.</p>",
121+
"isDeprecated": false,
122+
"values": [
123+
{
124+
"name": "ACTOR_INELIGIBLE",
125+
"description": "<p>The actor is not eligible to request Copilot code reviews.</p>"
126+
},
127+
{
128+
"name": "APP_NOT_INSTALLED",
129+
"description": "<p>The Copilot code review reviewer app is not installed.</p>"
130+
},
131+
{
132+
"name": "LICENSED_ORGANIZATION_UNAVAILABLE",
133+
"description": "<p>The organization providing the Copilot license is unavailable.</p>"
134+
},
135+
{
136+
"name": "NO_QUOTA_REMAINING",
137+
"description": "<p>The actor has no Copilot code review quota remaining.</p>"
138+
},
139+
{
140+
"name": "REPOSITORY_INELIGIBLE",
141+
"description": "<p>The repository is not eligible for Copilot code reviews.</p>"
142+
},
143+
{
144+
"name": "REQUEST_CONFLICT",
145+
"description": "<p>A Copilot code review request is already pending for this pull request.</p>"
146+
}
147+
],
148+
"category": "copilot"
149+
}
88150
]
89151
}

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

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,66 @@
714714
],
715715
"category": "pulls"
716716
},
717+
{
718+
"name": "requestCopilotCodeReview",
719+
"id": "requestcopilotcodereview",
720+
"href": "/graphql/reference/pulls#mutation-requestcopilotcodereview",
721+
"description": "<p>Requests a Copilot code review.</p>\n<p>Every call attempts to advance the Copilot code review lifecycle for the pull\nrequest: if no Copilot review has been requested yet, an initial request is created;\nif the most recent Copilot review has already completed, a new request is created\nautomatically to continue the lifecycle. If a Copilot code review request is already\npending, no new request is created and <code>failureReason</code> is <code>REQUEST_CONFLICT</code>.</p>",
722+
"isDeprecated": false,
723+
"inputFields": [
724+
{
725+
"name": "input",
726+
"type": "RequestCopilotCodeReviewInput!",
727+
"id": "requestcopilotcodereviewinput",
728+
"href": "/graphql/reference/pulls#input-object-requestcopilotcodereviewinput"
729+
}
730+
],
731+
"returnFields": [
732+
{
733+
"name": "actor",
734+
"type": "Actor",
735+
"id": "actor",
736+
"href": "/graphql/reference/users#interface-actor",
737+
"description": "<p>Identifies the actor who performed the event.</p>"
738+
},
739+
{
740+
"name": "clientMutationId",
741+
"type": "String",
742+
"id": "string",
743+
"href": "/graphql/reference/other#scalar-string",
744+
"description": "<p>A unique identifier for the client performing the mutation.</p>"
745+
},
746+
{
747+
"name": "failureReason",
748+
"type": "CopilotCodeReviewRequestReason",
749+
"id": "copilotcodereviewrequestreason",
750+
"href": "/graphql/reference/copilot#enum-copilotcodereviewrequestreason",
751+
"description": "<p>The stable reason the request was denied or conflicted with an existing request. Null when the request succeeded.</p>"
752+
},
753+
{
754+
"name": "pullRequest",
755+
"type": "PullRequest",
756+
"id": "pullrequest",
757+
"href": "/graphql/reference/pulls#object-pullrequest",
758+
"description": "<p>The pull request that is getting requests.</p>"
759+
},
760+
{
761+
"name": "reviewRequest",
762+
"type": "ReviewRequest",
763+
"id": "reviewrequest",
764+
"href": "/graphql/reference/pulls#object-reviewrequest",
765+
"description": "<p>The Copilot code review request that was created or is already pending. Null\nwhen the request was denied or conflicted with an existing request.</p>"
766+
},
767+
{
768+
"name": "success",
769+
"type": "Boolean",
770+
"id": "boolean",
771+
"href": "/graphql/reference/other#scalar-boolean",
772+
"description": "<p>Did the operation succeed?.</p>"
773+
}
774+
],
775+
"category": "pulls"
776+
},
717777
{
718778
"name": "requestReviews",
719779
"id": "requestreviews",
@@ -10644,6 +10704,37 @@
1064410704
],
1064510705
"category": "pulls"
1064610706
},
10707+
{
10708+
"name": "RequestCopilotCodeReviewInput",
10709+
"id": "requestcopilotcodereviewinput",
10710+
"href": "/graphql/reference/pulls#input-object-requestcopilotcodereviewinput",
10711+
"description": "<p>Autogenerated input type of RequestCopilotCodeReview.</p>",
10712+
"inputFields": [
10713+
{
10714+
"name": "clientMutationId",
10715+
"description": "<p>A unique identifier for the client performing the mutation.</p>",
10716+
"type": "String",
10717+
"id": "string",
10718+
"href": "/graphql/reference/other#scalar-string"
10719+
},
10720+
{
10721+
"name": "pullRequestId",
10722+
"description": "<p>The Node ID of the pull request to modify.</p>",
10723+
"type": "ID!",
10724+
"id": "id",
10725+
"href": "/graphql/reference/other#scalar-id",
10726+
"isDeprecated": false
10727+
},
10728+
{
10729+
"name": "reviewEffort",
10730+
"description": "<p>The effort level to use for the Copilot code review. Omit to use the default effort level.</p>",
10731+
"type": "CopilotCodeReviewEffort",
10732+
"id": "copilotcoderevieweffort",
10733+
"href": "/graphql/reference/copilot#enum-copilotcoderevieweffort"
10734+
}
10735+
],
10736+
"category": "pulls"
10737+
},
1064710738
{
1064810739
"name": "RequestReviewsByLoginInput",
1064910740
"id": "requestreviewsbylogininput",

0 commit comments

Comments
 (0)