Skip to content

Commit 83666fd

Browse files
authored
Merge pull request #30456 from github/graphql-schema-update
GraphQL schema update
2 parents a381f88 + 66eca51 commit 83666fd

File tree

7 files changed

+614
-0
lines changed

7 files changed

+614
-0
lines changed

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16035,6 +16035,41 @@ type MergeBranchPayload {
1603516035
mergeCommit: Commit
1603616036
}
1603716037

16038+
"""
16039+
The possible default commit messages for merges.
16040+
"""
16041+
enum MergeCommitMessage {
16042+
"""
16043+
Default to a blank commit message.
16044+
"""
16045+
BLANK
16046+
16047+
"""
16048+
Default to the pull request's body.
16049+
"""
16050+
PR_BODY
16051+
16052+
"""
16053+
Default to the pull request's title.
16054+
"""
16055+
PR_TITLE
16056+
}
16057+
16058+
"""
16059+
The possible default commit titles for merges.
16060+
"""
16061+
enum MergeCommitTitle {
16062+
"""
16063+
Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
16064+
"""
16065+
MERGE_MESSAGE
16066+
16067+
"""
16068+
Default to the pull request's title.
16069+
"""
16070+
PR_TITLE
16071+
}
16072+
1603816073
"""
1603916074
Autogenerated input type of MergePullRequest
1604016075
"""
@@ -32457,6 +32492,16 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
3245732492
"""
3245832493
mergeCommitAllowed: Boolean!
3245932494

32495+
"""
32496+
How the default commit message will be generated when merging a pull request.
32497+
"""
32498+
mergeCommitMessage: MergeCommitMessage!
32499+
32500+
"""
32501+
How the default commit title will be generated when merging a pull request.
32502+
"""
32503+
mergeCommitTitle: MergeCommitTitle!
32504+
3246032505
"""
3246132506
Returns a single milestone from the current repository by number.
3246232507
"""
@@ -32888,6 +32933,16 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
3288832933
"""
3288932934
squashMergeAllowed: Boolean!
3289032935

32936+
"""
32937+
How the default commit message will be generated when squash merging a pull request.
32938+
"""
32939+
squashMergeCommitMessage: SquashMergeCommitMessage!
32940+
32941+
"""
32942+
How the default commit title will be generated when squash merging a pull request.
32943+
"""
32944+
squashMergeCommitTitle: SquashMergeCommitTitle!
32945+
3289132946
"""
3289232947
Whether a squash merge commit can use the pull request title as default.
3289332948
"""
@@ -35828,6 +35883,41 @@ type SmimeSignature implements GitSignature {
3582835883
wasSignedByGitHub: Boolean!
3582935884
}
3583035885

35886+
"""
35887+
The possible default commit messages for squash merges.
35888+
"""
35889+
enum SquashMergeCommitMessage {
35890+
"""
35891+
Default to a blank commit message.
35892+
"""
35893+
BLANK
35894+
35895+
"""
35896+
Default to the branch's commit messages.
35897+
"""
35898+
COMMIT_MESSAGES
35899+
35900+
"""
35901+
Default to the pull request's body.
35902+
"""
35903+
PR_BODY
35904+
}
35905+
35906+
"""
35907+
The possible default commit titles for squash merges.
35908+
"""
35909+
enum SquashMergeCommitTitle {
35910+
"""
35911+
Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
35912+
"""
35913+
COMMIT_OR_PR_TITLE
35914+
35915+
"""
35916+
Default to the pull request's title.
35917+
"""
35918+
PR_TITLE
35919+
}
35920+
3583135921
"""
3583235922
Ways in which star connections can be ordered.
3583335923
"""

data/graphql/ghec/schema.docs.graphql

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18295,6 +18295,41 @@ type MergeBranchPayload {
1829518295
mergeCommit: Commit
1829618296
}
1829718297

18298+
"""
18299+
The possible default commit messages for merges.
18300+
"""
18301+
enum MergeCommitMessage {
18302+
"""
18303+
Default to a blank commit message.
18304+
"""
18305+
BLANK
18306+
18307+
"""
18308+
Default to the pull request's body.
18309+
"""
18310+
PR_BODY
18311+
18312+
"""
18313+
Default to the pull request's title.
18314+
"""
18315+
PR_TITLE
18316+
}
18317+
18318+
"""
18319+
The possible default commit titles for merges.
18320+
"""
18321+
enum MergeCommitTitle {
18322+
"""
18323+
Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
18324+
"""
18325+
MERGE_MESSAGE
18326+
18327+
"""
18328+
Default to the pull request's title.
18329+
"""
18330+
PR_TITLE
18331+
}
18332+
1829818333
"""
1829918334
Autogenerated input type of MergePullRequest
1830018335
"""
@@ -39705,6 +39740,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
3970539740
"""
3970639741
mergeCommitAllowed: Boolean!
3970739742

39743+
"""
39744+
How the default commit message will be generated when merging a pull request.
39745+
"""
39746+
mergeCommitMessage: MergeCommitMessage!
39747+
39748+
"""
39749+
How the default commit title will be generated when merging a pull request.
39750+
"""
39751+
mergeCommitTitle: MergeCommitTitle!
39752+
3970839753
"""
3970939754
Returns a single milestone from the current repository by number.
3971039755
"""
@@ -40302,6 +40347,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4030240347
"""
4030340348
squashMergeAllowed: Boolean!
4030440349

40350+
"""
40351+
How the default commit message will be generated when squash merging a pull request.
40352+
"""
40353+
squashMergeCommitMessage: SquashMergeCommitMessage!
40354+
40355+
"""
40356+
How the default commit title will be generated when squash merging a pull request.
40357+
"""
40358+
squashMergeCommitTitle: SquashMergeCommitTitle!
40359+
4030540360
"""
4030640361
Whether a squash merge commit can use the pull request title as default.
4030740362
"""
@@ -44792,6 +44847,41 @@ enum SponsorshipPrivacy {
4479244847
PUBLIC
4479344848
}
4479444849

44850+
"""
44851+
The possible default commit messages for squash merges.
44852+
"""
44853+
enum SquashMergeCommitMessage {
44854+
"""
44855+
Default to a blank commit message.
44856+
"""
44857+
BLANK
44858+
44859+
"""
44860+
Default to the branch's commit messages.
44861+
"""
44862+
COMMIT_MESSAGES
44863+
44864+
"""
44865+
Default to the pull request's body.
44866+
"""
44867+
PR_BODY
44868+
}
44869+
44870+
"""
44871+
The possible default commit titles for squash merges.
44872+
"""
44873+
enum SquashMergeCommitTitle {
44874+
"""
44875+
Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
44876+
"""
44877+
COMMIT_OR_PR_TITLE
44878+
44879+
"""
44880+
Default to the pull request's title.
44881+
"""
44882+
PR_TITLE
44883+
}
44884+
4479544885
"""
4479644886
Ways in which star connections can be ordered.
4479744887
"""

data/graphql/schema.docs.graphql

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18295,6 +18295,41 @@ type MergeBranchPayload {
1829518295
mergeCommit: Commit
1829618296
}
1829718297

18298+
"""
18299+
The possible default commit messages for merges.
18300+
"""
18301+
enum MergeCommitMessage {
18302+
"""
18303+
Default to a blank commit message.
18304+
"""
18305+
BLANK
18306+
18307+
"""
18308+
Default to the pull request's body.
18309+
"""
18310+
PR_BODY
18311+
18312+
"""
18313+
Default to the pull request's title.
18314+
"""
18315+
PR_TITLE
18316+
}
18317+
18318+
"""
18319+
The possible default commit titles for merges.
18320+
"""
18321+
enum MergeCommitTitle {
18322+
"""
18323+
Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
18324+
"""
18325+
MERGE_MESSAGE
18326+
18327+
"""
18328+
Default to the pull request's title.
18329+
"""
18330+
PR_TITLE
18331+
}
18332+
1829818333
"""
1829918334
Autogenerated input type of MergePullRequest
1830018335
"""
@@ -39705,6 +39740,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
3970539740
"""
3970639741
mergeCommitAllowed: Boolean!
3970739742

39743+
"""
39744+
How the default commit message will be generated when merging a pull request.
39745+
"""
39746+
mergeCommitMessage: MergeCommitMessage!
39747+
39748+
"""
39749+
How the default commit title will be generated when merging a pull request.
39750+
"""
39751+
mergeCommitTitle: MergeCommitTitle!
39752+
3970839753
"""
3970939754
Returns a single milestone from the current repository by number.
3971039755
"""
@@ -40302,6 +40347,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
4030240347
"""
4030340348
squashMergeAllowed: Boolean!
4030440349

40350+
"""
40351+
How the default commit message will be generated when squash merging a pull request.
40352+
"""
40353+
squashMergeCommitMessage: SquashMergeCommitMessage!
40354+
40355+
"""
40356+
How the default commit title will be generated when squash merging a pull request.
40357+
"""
40358+
squashMergeCommitTitle: SquashMergeCommitTitle!
40359+
4030540360
"""
4030640361
Whether a squash merge commit can use the pull request title as default.
4030740362
"""
@@ -44792,6 +44847,41 @@ enum SponsorshipPrivacy {
4479244847
PUBLIC
4479344848
}
4479444849

44850+
"""
44851+
The possible default commit messages for squash merges.
44852+
"""
44853+
enum SquashMergeCommitMessage {
44854+
"""
44855+
Default to a blank commit message.
44856+
"""
44857+
BLANK
44858+
44859+
"""
44860+
Default to the branch's commit messages.
44861+
"""
44862+
COMMIT_MESSAGES
44863+
44864+
"""
44865+
Default to the pull request's body.
44866+
"""
44867+
PR_BODY
44868+
}
44869+
44870+
"""
44871+
The possible default commit titles for squash merges.
44872+
"""
44873+
enum SquashMergeCommitTitle {
44874+
"""
44875+
Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
44876+
"""
44877+
COMMIT_OR_PR_TITLE
44878+
44879+
"""
44880+
Default to the pull request's title.
44881+
"""
44882+
PR_TITLE
44883+
}
44884+
4479544885
"""
4479644886
Ways in which star connections can be ordered.
4479744887
"""

lib/graphql/static/changelog.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>MergeCommitMessage</code> was added</p>",
8+
"<p>Type <code>MergeCommitTitle</code> was added</p>",
9+
"<p>Type <code>SquashMergeCommitMessage</code> was added</p>",
10+
"<p>Type <code>SquashMergeCommitTitle</code> was added</p>",
11+
"<p>Field <code>mergeCommitMessage</code> was added to object type <code>Repository</code></p>",
12+
"<p>Field <code>mergeCommitTitle</code> was added to object type <code>Repository</code></p>",
13+
"<p>Field <code>squashMergeCommitMessage</code> was added to object type <code>Repository</code></p>",
14+
"<p>Field <code>squashMergeCommitTitle</code> was added to object type <code>Repository</code></p>"
15+
]
16+
}
17+
],
18+
"previewChanges": [],
19+
"upcomingChanges": [],
20+
"date": "2022-09-01"
21+
},
222
{
323
"schemaChanges": [
424
{

0 commit comments

Comments
 (0)