Skip to content

Commit a934f06

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

9 files changed

Lines changed: 70 additions & 32 deletions

src/graphql/data/fpt/changelog.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": []
7+
}
8+
],
9+
"previewChanges": [],
10+
"upcomingChanges": [
11+
{
12+
"title": "The following changes will be made to the schema:",
13+
"changes": [
14+
"<p>On member <code>User.viewerRelevantRepositories</code>:<code>viewerRelevantRepositories</code> will be removed. Use viewerCopilotChatRepositorySuggestions instead. <strong>Effective 2026-10-01</strong>.</p>"
15+
]
16+
}
17+
],
18+
"date": "2026-05-22"
19+
},
220
{
321
"schemaChanges": [
422
{

src/graphql/data/fpt/graphql_upcoming_changes.public.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7998,6 +7998,14 @@ upcoming_changes:
79987998
date: '2026-07-01T00:00:00+00:00'
79997999
criticality: breaking
80008000
owner: peter-evans
8001+
- location: User.viewerRelevantRepositories
8002+
description:
8003+
'`viewerRelevantRepositories` will be removed. Use viewerCopilotChatRepositorySuggestions
8004+
instead.'
8005+
reason: '`viewerRelevantRepositories` has been renamed to `viewerCopilotChatRepositorySuggestions`.'
8006+
date: '2026-10-01T00:00:00+00:00'
8007+
criticality: breaking
8008+
owner: github/client-apps-platform
80018009
- location: Artifact.databaseId
80028010
description: '`databaseId` will be removed. Use `fullDatabaseId` instead.'
80038011
reason:

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4968,7 +4968,7 @@ Choose which tools must provide code scanning results before the reference is
49684968
updated. When configured, code scanning must be enabled and have results for
49694969
both the commit and the reference being updated.
49704970
"""
4971-
type CodeScanningParameters @docsCategory(name: "repos") {
4971+
type CodeScanningParameters {
49724972
"""
49734973
Tools that must provide code scanning results for this rule to pass.
49744974
"""
@@ -4980,7 +4980,7 @@ Choose which tools must provide code scanning results before the reference is
49804980
updated. When configured, code scanning must be enabled and have results for
49814981
both the commit and the reference being updated.
49824982
"""
4983-
input CodeScanningParametersInput @docsCategory(name: "repos") {
4983+
input CodeScanningParametersInput {
49844984
"""
49854985
Tools that must provide code scanning results for this rule to pass.
49864986
"""
@@ -4990,7 +4990,7 @@ input CodeScanningParametersInput @docsCategory(name: "repos") {
49904990
"""
49914991
A tool that must provide code scanning results for this rule to pass.
49924992
"""
4993-
type CodeScanningTool @docsCategory(name: "repos") {
4993+
type CodeScanningTool {
49944994
"""
49954995
The severity level at which code scanning results that raise alerts block a
49964996
reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
@@ -5013,7 +5013,7 @@ type CodeScanningTool @docsCategory(name: "repos") {
50135013
"""
50145014
A tool that must provide code scanning results for this rule to pass.
50155015
"""
5016-
input CodeScanningToolInput @docsCategory(name: "repos") {
5016+
input CodeScanningToolInput {
50175017
"""
50185018
The severity level at which code scanning results that raise alerts block a
50195019
reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
@@ -43662,7 +43662,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
4366243662
"""
4366343663
Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.
4366443664
"""
43665-
enum PullRequestAllowedMergeMethods @docsCategory(name: "pulls") {
43665+
enum PullRequestAllowedMergeMethods {
4366643666
"""
4366743667
Add all commits from the head branch to the base branch with a merge commit.
4366843668
"""
@@ -55696,7 +55696,7 @@ enum RepositoryRuleOrderField @docsCategory(name: "repos") {
5569655696
"""
5569755697
The rule types supported in rulesets
5569855698
"""
55699-
enum RepositoryRuleType @docsCategory(name: "repos") {
55699+
enum RepositoryRuleType {
5570055700
"""
5570155701
Authorization
5570255702
"""
@@ -57814,7 +57814,7 @@ enum RuleEnforcement @docsCategory(name: "repos") {
5781457814
"""
5781557815
Types which can be parameters for `RepositoryRule` objects.
5781657816
"""
57817-
union RuleParameters @docsCategory(name: "repos") =
57817+
union RuleParameters =
5781857818
| BranchNamePatternParameters
5781957819
| CodeScanningParameters
5782057820
| CommitAuthorEmailPatternParameters
@@ -57836,7 +57836,7 @@ union RuleParameters @docsCategory(name: "repos") =
5783657836
"""
5783757837
Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.
5783857838
"""
57839-
input RuleParametersInput @docsCategory(name: "repos") {
57839+
input RuleParametersInput {
5784057840
"""
5784157841
Parameters used for the `branch_name_pattern` rule type
5784257842
"""

src/graphql/data/fpt/schema.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13304,7 +13304,6 @@
1330413304
"id": "codescanningparameters",
1330513305
"href": "/graphql/reference/objects#codescanningparameters",
1330613306
"description": "<p>Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.</p>",
13307-
"isDeprecated": false,
1330813307
"fields": [
1330913308
{
1331013309
"name": "codeScanningTools",
@@ -13320,7 +13319,6 @@
1332013319
"id": "codescanningtool",
1332113320
"href": "/graphql/reference/objects#codescanningtool",
1332213321
"description": "<p>A tool that must provide code scanning results for this rule to pass.</p>",
13323-
"isDeprecated": false,
1332413322
"fields": [
1332513323
{
1332613324
"name": "alertsThreshold",
@@ -85567,7 +85565,6 @@
8556785565
"id": "pullrequestallowedmergemethods",
8556885566
"href": "/graphql/reference/enums#pullrequestallowedmergemethods",
8556985567
"description": "<p>Array of allowed merge methods. Allowed values include <code>merge</code>, <code>squash</code>, and <code>rebase</code>. At least one option must be enabled.</p>",
85570-
"isDeprecated": false,
8557185568
"values": [
8557285569
{
8557385570
"name": "MERGE",
@@ -86709,7 +86706,6 @@
8670986706
"id": "repositoryruletype",
8671086707
"href": "/graphql/reference/enums#repositoryruletype",
8671186708
"description": "<p>The rule types supported in rulesets.</p>",
86712-
"isDeprecated": false,
8671386709
"values": [
8671486710
{
8671586711
"name": "AUTHORIZATION",
@@ -91185,7 +91181,6 @@
9118591181
"id": "ruleparameters",
9118691182
"href": "/graphql/reference/unions#ruleparameters",
9118791183
"description": "<p>Types which can be parameters for <code>RepositoryRule</code> objects.</p>",
91188-
"isDeprecated": false,
9118991184
"possibleTypes": [
9119091185
{
9119191186
"name": "BranchNamePatternParameters",
@@ -93386,7 +93381,6 @@
9338693381
"id": "codescanningparametersinput",
9338793382
"href": "/graphql/reference/input-objects#codescanningparametersinput",
9338893383
"description": "<p>Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.</p>",
93389-
"isDeprecated": false,
9339093384
"inputFields": [
9339193385
{
9339293386
"name": "codeScanningTools",
@@ -93402,7 +93396,6 @@
9340293396
"id": "codescanningtoolinput",
9340393397
"href": "/graphql/reference/input-objects#codescanningtoolinput",
9340493398
"description": "<p>A tool that must provide code scanning results for this rule to pass.</p>",
93405-
"isDeprecated": false,
9340693399
"inputFields": [
9340793400
{
9340893401
"name": "alertsThreshold",
@@ -100774,7 +100767,6 @@
100774100767
"id": "ruleparametersinput",
100775100768
"href": "/graphql/reference/input-objects#ruleparametersinput",
100776100769
"description": "<p>Specifies the parameters for a <code>RepositoryRule</code> object. Only one of the fields should be specified.</p>",
100777-
"isDeprecated": false,
100778100770
"inputFields": [
100779100771
{
100780100772
"name": "branchNamePattern",

src/graphql/data/fpt/upcoming-changes.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
"owner": "github/actions-persistence"
1818
}
1919
],
20+
"2026-10-01": [
21+
{
22+
"location": "User.viewerRelevantRepositories",
23+
"description": "<p><code>viewerRelevantRepositories</code> will be removed. Use viewerCopilotChatRepositorySuggestions instead.</p>",
24+
"reason": "<p><code>viewerRelevantRepositories</code> has been renamed to <code>viewerCopilotChatRepositorySuggestions</code>.</p>",
25+
"date": "2026-10-01",
26+
"criticality": "breaking",
27+
"owner": "github/client-apps-platform"
28+
}
29+
],
2030
"2026-07-01": [
2131
{
2232
"location": "Team.viewerSubscription",

src/graphql/data/ghec/graphql_upcoming_changes.public.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7998,6 +7998,14 @@ upcoming_changes:
79987998
date: '2026-07-01T00:00:00+00:00'
79997999
criticality: breaking
80008000
owner: peter-evans
8001+
- location: User.viewerRelevantRepositories
8002+
description:
8003+
'`viewerRelevantRepositories` will be removed. Use viewerCopilotChatRepositorySuggestions
8004+
instead.'
8005+
reason: '`viewerRelevantRepositories` has been renamed to `viewerCopilotChatRepositorySuggestions`.'
8006+
date: '2026-10-01T00:00:00+00:00'
8007+
criticality: breaking
8008+
owner: github/client-apps-platform
80018009
- location: Artifact.databaseId
80028010
description: '`databaseId` will be removed. Use `fullDatabaseId` instead.'
80038011
reason:

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4968,7 +4968,7 @@ Choose which tools must provide code scanning results before the reference is
49684968
updated. When configured, code scanning must be enabled and have results for
49694969
both the commit and the reference being updated.
49704970
"""
4971-
type CodeScanningParameters @docsCategory(name: "repos") {
4971+
type CodeScanningParameters {
49724972
"""
49734973
Tools that must provide code scanning results for this rule to pass.
49744974
"""
@@ -4980,7 +4980,7 @@ Choose which tools must provide code scanning results before the reference is
49804980
updated. When configured, code scanning must be enabled and have results for
49814981
both the commit and the reference being updated.
49824982
"""
4983-
input CodeScanningParametersInput @docsCategory(name: "repos") {
4983+
input CodeScanningParametersInput {
49844984
"""
49854985
Tools that must provide code scanning results for this rule to pass.
49864986
"""
@@ -4990,7 +4990,7 @@ input CodeScanningParametersInput @docsCategory(name: "repos") {
49904990
"""
49914991
A tool that must provide code scanning results for this rule to pass.
49924992
"""
4993-
type CodeScanningTool @docsCategory(name: "repos") {
4993+
type CodeScanningTool {
49944994
"""
49954995
The severity level at which code scanning results that raise alerts block a
49964996
reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
@@ -5013,7 +5013,7 @@ type CodeScanningTool @docsCategory(name: "repos") {
50135013
"""
50145014
A tool that must provide code scanning results for this rule to pass.
50155015
"""
5016-
input CodeScanningToolInput @docsCategory(name: "repos") {
5016+
input CodeScanningToolInput {
50175017
"""
50185018
The severity level at which code scanning results that raise alerts block a
50195019
reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
@@ -43662,7 +43662,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
4366243662
"""
4366343663
Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.
4366443664
"""
43665-
enum PullRequestAllowedMergeMethods @docsCategory(name: "pulls") {
43665+
enum PullRequestAllowedMergeMethods {
4366643666
"""
4366743667
Add all commits from the head branch to the base branch with a merge commit.
4366843668
"""
@@ -55696,7 +55696,7 @@ enum RepositoryRuleOrderField @docsCategory(name: "repos") {
5569655696
"""
5569755697
The rule types supported in rulesets
5569855698
"""
55699-
enum RepositoryRuleType @docsCategory(name: "repos") {
55699+
enum RepositoryRuleType {
5570055700
"""
5570155701
Authorization
5570255702
"""
@@ -57814,7 +57814,7 @@ enum RuleEnforcement @docsCategory(name: "repos") {
5781457814
"""
5781557815
Types which can be parameters for `RepositoryRule` objects.
5781657816
"""
57817-
union RuleParameters @docsCategory(name: "repos") =
57817+
union RuleParameters =
5781857818
| BranchNamePatternParameters
5781957819
| CodeScanningParameters
5782057820
| CommitAuthorEmailPatternParameters
@@ -57836,7 +57836,7 @@ union RuleParameters @docsCategory(name: "repos") =
5783657836
"""
5783757837
Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.
5783857838
"""
57839-
input RuleParametersInput @docsCategory(name: "repos") {
57839+
input RuleParametersInput {
5784057840
"""
5784157841
Parameters used for the `branch_name_pattern` rule type
5784257842
"""

src/graphql/data/ghec/schema.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13304,7 +13304,6 @@
1330413304
"id": "codescanningparameters",
1330513305
"href": "/graphql/reference/objects#codescanningparameters",
1330613306
"description": "<p>Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.</p>",
13307-
"isDeprecated": false,
1330813307
"fields": [
1330913308
{
1331013309
"name": "codeScanningTools",
@@ -13320,7 +13319,6 @@
1332013319
"id": "codescanningtool",
1332113320
"href": "/graphql/reference/objects#codescanningtool",
1332213321
"description": "<p>A tool that must provide code scanning results for this rule to pass.</p>",
13323-
"isDeprecated": false,
1332413322
"fields": [
1332513323
{
1332613324
"name": "alertsThreshold",
@@ -85567,7 +85565,6 @@
8556785565
"id": "pullrequestallowedmergemethods",
8556885566
"href": "/graphql/reference/enums#pullrequestallowedmergemethods",
8556985567
"description": "<p>Array of allowed merge methods. Allowed values include <code>merge</code>, <code>squash</code>, and <code>rebase</code>. At least one option must be enabled.</p>",
85570-
"isDeprecated": false,
8557185568
"values": [
8557285569
{
8557385570
"name": "MERGE",
@@ -86709,7 +86706,6 @@
8670986706
"id": "repositoryruletype",
8671086707
"href": "/graphql/reference/enums#repositoryruletype",
8671186708
"description": "<p>The rule types supported in rulesets.</p>",
86712-
"isDeprecated": false,
8671386709
"values": [
8671486710
{
8671586711
"name": "AUTHORIZATION",
@@ -91185,7 +91181,6 @@
9118591181
"id": "ruleparameters",
9118691182
"href": "/graphql/reference/unions#ruleparameters",
9118791183
"description": "<p>Types which can be parameters for <code>RepositoryRule</code> objects.</p>",
91188-
"isDeprecated": false,
9118991184
"possibleTypes": [
9119091185
{
9119191186
"name": "BranchNamePatternParameters",
@@ -93386,7 +93381,6 @@
9338693381
"id": "codescanningparametersinput",
9338793382
"href": "/graphql/reference/input-objects#codescanningparametersinput",
9338893383
"description": "<p>Choose which tools must provide code scanning results before the reference is\nupdated. When configured, code scanning must be enabled and have results for\nboth the commit and the reference being updated.</p>",
93389-
"isDeprecated": false,
9339093384
"inputFields": [
9339193385
{
9339293386
"name": "codeScanningTools",
@@ -93402,7 +93396,6 @@
9340293396
"id": "codescanningtoolinput",
9340393397
"href": "/graphql/reference/input-objects#codescanningtoolinput",
9340493398
"description": "<p>A tool that must provide code scanning results for this rule to pass.</p>",
93405-
"isDeprecated": false,
9340693399
"inputFields": [
9340793400
{
9340893401
"name": "alertsThreshold",
@@ -100774,7 +100767,6 @@
100774100767
"id": "ruleparametersinput",
100775100768
"href": "/graphql/reference/input-objects#ruleparametersinput",
100776100769
"description": "<p>Specifies the parameters for a <code>RepositoryRule</code> object. Only one of the fields should be specified.</p>",
100777-
"isDeprecated": false,
100778100770
"inputFields": [
100779100771
{
100780100772
"name": "branchNamePattern",

src/graphql/data/ghec/upcoming-changes.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
"owner": "github/actions-persistence"
1818
}
1919
],
20+
"2026-10-01": [
21+
{
22+
"location": "User.viewerRelevantRepositories",
23+
"description": "<p><code>viewerRelevantRepositories</code> will be removed. Use viewerCopilotChatRepositorySuggestions instead.</p>",
24+
"reason": "<p><code>viewerRelevantRepositories</code> has been renamed to <code>viewerCopilotChatRepositorySuggestions</code>.</p>",
25+
"date": "2026-10-01",
26+
"criticality": "breaking",
27+
"owner": "github/client-apps-platform"
28+
}
29+
],
2030
"2026-07-01": [
2131
{
2232
"location": "Team.viewerSubscription",

0 commit comments

Comments
 (0)