Skip to content

Commit 8778eca

Browse files
GraphQL schema update (#62128)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent 82f7cb4 commit 8778eca

13 files changed

Lines changed: 259 additions & 16 deletions

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@
661661
"issuefieldsingleselectvalue": "issues",
662662
"issuefieldtext": "issues",
663663
"issuefieldtextvalue": "issues",
664+
"issuefieldtimelineoption": "issues",
664665
"issuefieldvalueconnection": "issues",
665666
"issuefieldvalueedge": "issues",
666667
"issuefieldsconnection": "issues",

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>IssueFieldTimelineOption</code> was added</p>",
8+
"<p>Field <code>color</code> was added to object type <code>IssueFieldTimelineOption</code></p>",
9+
"<p>Field <code>name</code> was added to object type <code>IssueFieldTimelineOption</code></p>",
10+
"<p>Field <code>options</code> was added to object type <code>IssueFieldAddedEvent</code></p>",
11+
"<p>Field <code>newOptions</code> was added to object type <code>IssueFieldChangedEvent</code></p>",
12+
"<p>Field <code>previousOptions</code> was added to object type <code>IssueFieldChangedEvent</code></p>",
13+
"<p>Field <code>options</code> was added to object type <code>IssueFieldRemovedEvent</code></p>",
14+
"<p>Enum value 'LICENSE_COMPLIANCE_SCANNING<code>was added to enum</code>RepositoryRuleType'</p>",
15+
"<p>Input field <code>issueCreationPolicy</code> of type <code>IssueCreationPolicy</code> was added to input object type <code>UpdateRepositoryInput</code></p>"
16+
]
17+
}
18+
],
19+
"previewChanges": [],
20+
"upcomingChanges": [],
21+
"date": "2026-07-07"
22+
},
223
{
324
"schemaChanges": [
425
{

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4769,6 +4769,13 @@
47694769
"id": "issuefields",
47704770
"href": "/graphql/reference/issues#union-issuefields"
47714771
},
4772+
{
4773+
"name": "options",
4774+
"description": "<p>The selected options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
4775+
"type": "[IssueFieldTimelineOption!]",
4776+
"id": "issuefieldtimelineoption",
4777+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
4778+
},
47724779
{
47734780
"name": "value",
47744781
"description": "<p>The value of the added field.</p>",
@@ -4828,6 +4835,13 @@
48284835
"id": "string",
48294836
"href": "/graphql/reference/other#scalar-string"
48304837
},
4838+
{
4839+
"name": "newOptions",
4840+
"description": "<p>The new options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
4841+
"type": "[IssueFieldTimelineOption!]",
4842+
"id": "issuefieldtimelineoption",
4843+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
4844+
},
48314845
{
48324846
"name": "newValue",
48334847
"description": "<p>The new value of the field.</p>",
@@ -4842,6 +4856,13 @@
48424856
"id": "string",
48434857
"href": "/graphql/reference/other#scalar-string"
48444858
},
4859+
{
4860+
"name": "previousOptions",
4861+
"description": "<p>The previous options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
4862+
"type": "[IssueFieldTimelineOption!]",
4863+
"id": "issuefieldtimelineoption",
4864+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
4865+
},
48454866
{
48464867
"name": "previousValue",
48474868
"description": "<p>The previous value of the field.</p>",
@@ -5249,6 +5270,13 @@
52495270
"type": "IssueFields",
52505271
"id": "issuefields",
52515272
"href": "/graphql/reference/issues#union-issuefields"
5273+
},
5274+
{
5275+
"name": "options",
5276+
"description": "<p>The removed options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
5277+
"type": "[IssueFieldTimelineOption!]",
5278+
"id": "issuefieldtimelineoption",
5279+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
52525280
}
52535281
],
52545282
"category": "issues"
@@ -5582,6 +5610,30 @@
55825610
],
55835611
"category": "issues"
55845612
},
5613+
{
5614+
"name": "IssueFieldTimelineOption",
5615+
"id": "issuefieldtimelineoption",
5616+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption",
5617+
"description": "<p>Represents a selected option for a timeline issue field event.</p>",
5618+
"isDeprecated": false,
5619+
"fields": [
5620+
{
5621+
"name": "color",
5622+
"description": "<p>The option color.</p>",
5623+
"type": "String",
5624+
"id": "string",
5625+
"href": "/graphql/reference/other#scalar-string"
5626+
},
5627+
{
5628+
"name": "name",
5629+
"description": "<p>The option name.</p>",
5630+
"type": "String!",
5631+
"id": "string",
5632+
"href": "/graphql/reference/other#scalar-string"
5633+
}
5634+
],
5635+
"category": "issues"
5636+
},
55855637
{
55865638
"name": "IssueFieldValueConnection",
55875639
"id": "issuefieldvalueconnection",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,10 @@
643643
"name": "FILE_PATH_RESTRICTION",
644644
"description": "<p>Prevent commits that include changes in specified file and folder paths from\nbeing pushed to the commit graph. This includes absolute paths that contain file names.</p>"
645645
},
646+
{
647+
"name": "LICENSE_COMPLIANCE_SCANNING",
648+
"description": "<p>Enforce any added or changed dependencies to comply with the organization's license policy.</p>"
649+
},
646650
{
647651
"name": "LOCK_BRANCH",
648652
"description": "<p>Branch is read-only. Users cannot push to the branch.</p>"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "addPullRequestCreationCapBypassUsers",
55
"id": "addpullrequestcreationcapbypassusers",
66
"href": "/graphql/reference/pulls#mutation-addpullrequestcreationcapbypassusers",
7-
"description": "<p>Add users to the pull request creation cap bypass list. Bypassed users can\ncreate pull requests regardless of the configured cap. Only repository admins\ncan manage the bypass list. You can add a maximum of 100 users per request.\nThe bypass list can only hold a maximum of 100 users.</p>",
7+
"description": "<p>Add users to the pull request creation cap bypass list. Bypassed users can\ncreate pull requests regardless of the configured cap. Only users with\nmaintainer permissions can manage the bypass list. You can add a maximum of\n100 users per request. The bypass list can only hold a maximum of 100 users.</p>",
88
"isDeprecated": false,
99
"inputFields": [
1010
{
@@ -654,7 +654,7 @@
654654
"name": "removePullRequestCreationCapBypassUsers",
655655
"id": "removepullrequestcreationcapbypassusers",
656656
"href": "/graphql/reference/pulls#mutation-removepullrequestcreationcapbypassusers",
657-
"description": "<p>Remove users from the pull request creation cap bypass list. Only repository admins can manage the bypass list.</p>",
657+
"description": "<p>Remove users from the pull request creation cap bypass list. Only users with\nmaintainer permissions can manage the bypass list.</p>",
658658
"isDeprecated": false,
659659
"inputFields": [
660660
{

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5340,7 +5340,7 @@
53405340
},
53415341
{
53425342
"name": "pullRequestCreationCapConfig",
5343-
"description": "<p>A list of users who are exempt from the pull request creation cap on this repository. Only visible to repository admins.</p>",
5343+
"description": "<p>The pull request creation cap configuration for this repository. Only visible\nto repository maintainers and administrators.</p>",
53445344
"type": "PullRequestCreationCapConfig",
53455345
"id": "pullrequestcreationcapconfig",
53465346
"href": "/graphql/reference/pulls#object-pullrequestcreationcapconfig"
@@ -10835,6 +10835,13 @@
1083510835
"id": "uri",
1083610836
"href": "/graphql/reference/other#scalar-uri"
1083710837
},
10838+
{
10839+
"name": "issueCreationPolicy",
10840+
"description": "<p>The policy controlling who can create issues in this repository.</p>",
10841+
"type": "IssueCreationPolicy",
10842+
"id": "issuecreationpolicy",
10843+
"href": "/graphql/reference/issues#enum-issuecreationpolicy"
10844+
},
1083810845
{
1083910846
"name": "name",
1084010847
"description": "<p>The new name of the repository.</p>",

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

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21145,6 +21145,11 @@ type IssueFieldAddedEvent implements Node @docsCategory(name: "issues") {
2114521145
"""
2114621146
issueField: IssueFields
2114721147

21148+
"""
21149+
The selected options for option-backed fields; single-select returns one option and multi-select returns many.
21150+
"""
21151+
options: [IssueFieldTimelineOption!]
21152+
2114821153
"""
2114921154
The value of the added field.
2115021155
"""
@@ -21180,6 +21185,11 @@ type IssueFieldChangedEvent implements Node @docsCategory(name: "issues") {
2118021185
"""
2118121186
newColor: String
2118221187

21188+
"""
21189+
The new options for option-backed fields; single-select returns one option and multi-select returns many.
21190+
"""
21191+
newOptions: [IssueFieldTimelineOption!]
21192+
2118321193
"""
2118421194
The new value of the field.
2118521195
"""
@@ -21190,6 +21200,11 @@ type IssueFieldChangedEvent implements Node @docsCategory(name: "issues") {
2119021200
"""
2119121201
previousColor: String
2119221202

21203+
"""
21204+
The previous options for option-backed fields; single-select returns one option and multi-select returns many.
21205+
"""
21206+
previousOptions: [IssueFieldTimelineOption!]
21207+
2119321208
"""
2119421209
The previous value of the field.
2119521210
"""
@@ -21544,6 +21559,11 @@ type IssueFieldRemovedEvent implements Node @docsCategory(name: "issues") {
2154421559
The issue field removed.
2154521560
"""
2154621561
issueField: IssueFields
21562+
21563+
"""
21564+
The removed options for option-backed fields; single-select returns one option and multi-select returns many.
21565+
"""
21566+
options: [IssueFieldTimelineOption!]
2154721567
}
2154821568

2154921569
"""
@@ -21801,6 +21821,21 @@ type IssueFieldTextValue implements IssueFieldValueCommon & Node @docsCategory(n
2180121821
value: String!
2180221822
}
2180321823

21824+
"""
21825+
Represents a selected option for a timeline issue field event.
21826+
"""
21827+
type IssueFieldTimelineOption @docsCategory(name: "issues") {
21828+
"""
21829+
The option color.
21830+
"""
21831+
color: String
21832+
21833+
"""
21834+
The option name.
21835+
"""
21836+
name: String!
21837+
}
21838+
2180421839
"""
2180521840
Issue field values
2180621841
"""
@@ -26547,9 +26582,9 @@ type Mutation @docsCategory(name: "meta") {
2654726582

2654826583
"""
2654926584
Add users to the pull request creation cap bypass list. Bypassed users can
26550-
create pull requests regardless of the configured cap. Only repository admins
26551-
can manage the bypass list. You can add a maximum of 100 users per request.
26552-
The bypass list can only hold a maximum of 100 users.
26585+
create pull requests regardless of the configured cap. Only users with
26586+
maintainer permissions can manage the bypass list. You can add a maximum of
26587+
100 users per request. The bypass list can only hold a maximum of 100 users.
2655326588
"""
2655426589
addPullRequestCreationCapBypassUsers(
2655526590
"""
@@ -28000,7 +28035,8 @@ type Mutation @docsCategory(name: "meta") {
2800028035
): RemoveOutsideCollaboratorPayload @docsCategory(name: "orgs")
2800128036

2800228037
"""
28003-
Remove users from the pull request creation cap bypass list. Only repository admins can manage the bypass list.
28038+
Remove users from the pull request creation cap bypass list. Only users with
28039+
maintainer permissions can manage the bypass list.
2800428040
"""
2800528041
removePullRequestCreationCapBypassUsers(
2800628042
"""
@@ -53779,7 +53815,8 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
5377953815
): PullRequest
5378053816

5378153817
"""
53782-
A list of users who are exempt from the pull request creation cap on this repository. Only visible to repository admins.
53818+
The pull request creation cap configuration for this repository. Only visible
53819+
to repository maintainers and administrators.
5378353820
"""
5378453821
pullRequestCreationCapConfig: PullRequestCreationCapConfig
5378553822

@@ -56066,6 +56103,11 @@ enum RepositoryRuleType {
5606656103
"""
5606756104
FILE_PATH_RESTRICTION
5606856105

56106+
"""
56107+
Enforce any added or changed dependencies to comply with the organization's license policy.
56108+
"""
56109+
LICENSE_COMPLIANCE_SCANNING
56110+
5606956111
"""
5607056112
Branch is read-only. Users cannot push to the branch.
5607156113
"""
@@ -69395,6 +69437,11 @@ input UpdateRepositoryInput {
6939569437
"""
6939669438
homepageUrl: URI
6939769439

69440+
"""
69441+
The policy controlling who can create issues in this repository.
69442+
"""
69443+
issueCreationPolicy: IssueCreationPolicy
69444+
6939869445
"""
6939969446
The new name of the repository.
6940069447
"""

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@
661661
"issuefieldsingleselectvalue": "issues",
662662
"issuefieldtext": "issues",
663663
"issuefieldtextvalue": "issues",
664+
"issuefieldtimelineoption": "issues",
664665
"issuefieldvalueconnection": "issues",
665666
"issuefieldvalueedge": "issues",
666667
"issuefieldsconnection": "issues",

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4769,6 +4769,13 @@
47694769
"id": "issuefields",
47704770
"href": "/graphql/reference/issues#union-issuefields"
47714771
},
4772+
{
4773+
"name": "options",
4774+
"description": "<p>The selected options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
4775+
"type": "[IssueFieldTimelineOption!]",
4776+
"id": "issuefieldtimelineoption",
4777+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
4778+
},
47724779
{
47734780
"name": "value",
47744781
"description": "<p>The value of the added field.</p>",
@@ -4828,6 +4835,13 @@
48284835
"id": "string",
48294836
"href": "/graphql/reference/other#scalar-string"
48304837
},
4838+
{
4839+
"name": "newOptions",
4840+
"description": "<p>The new options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
4841+
"type": "[IssueFieldTimelineOption!]",
4842+
"id": "issuefieldtimelineoption",
4843+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
4844+
},
48314845
{
48324846
"name": "newValue",
48334847
"description": "<p>The new value of the field.</p>",
@@ -4842,6 +4856,13 @@
48424856
"id": "string",
48434857
"href": "/graphql/reference/other#scalar-string"
48444858
},
4859+
{
4860+
"name": "previousOptions",
4861+
"description": "<p>The previous options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
4862+
"type": "[IssueFieldTimelineOption!]",
4863+
"id": "issuefieldtimelineoption",
4864+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
4865+
},
48454866
{
48464867
"name": "previousValue",
48474868
"description": "<p>The previous value of the field.</p>",
@@ -5249,6 +5270,13 @@
52495270
"type": "IssueFields",
52505271
"id": "issuefields",
52515272
"href": "/graphql/reference/issues#union-issuefields"
5273+
},
5274+
{
5275+
"name": "options",
5276+
"description": "<p>The removed options for option-backed fields; single-select returns one option and multi-select returns many.</p>",
5277+
"type": "[IssueFieldTimelineOption!]",
5278+
"id": "issuefieldtimelineoption",
5279+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption"
52525280
}
52535281
],
52545282
"category": "issues"
@@ -5582,6 +5610,30 @@
55825610
],
55835611
"category": "issues"
55845612
},
5613+
{
5614+
"name": "IssueFieldTimelineOption",
5615+
"id": "issuefieldtimelineoption",
5616+
"href": "/graphql/reference/issues#object-issuefieldtimelineoption",
5617+
"description": "<p>Represents a selected option for a timeline issue field event.</p>",
5618+
"isDeprecated": false,
5619+
"fields": [
5620+
{
5621+
"name": "color",
5622+
"description": "<p>The option color.</p>",
5623+
"type": "String",
5624+
"id": "string",
5625+
"href": "/graphql/reference/other#scalar-string"
5626+
},
5627+
{
5628+
"name": "name",
5629+
"description": "<p>The option name.</p>",
5630+
"type": "String!",
5631+
"id": "string",
5632+
"href": "/graphql/reference/other#scalar-string"
5633+
}
5634+
],
5635+
"category": "issues"
5636+
},
55855637
{
55865638
"name": "IssueFieldValueConnection",
55875639
"id": "issuefieldvalueconnection",

0 commit comments

Comments
 (0)