@@ -3022,6 +3022,9 @@ input CreateProjectInput {
3022
3022
"""The description of project."""
3023
3023
body : String
3024
3024
3025
+ """The name of the GitHub-provided template."""
3026
+ template : ProjectTemplate
3027
+
3025
3028
"""A unique identifier for the client performing the mutation."""
3026
3029
clientMutationId : String
3027
3030
}
@@ -5835,6 +5838,41 @@ enum MergeableState {
5835
5838
UNKNOWN
5836
5839
}
5837
5840
5841
+ """Autogenerated input type of MergeBranch"""
5842
+ input MergeBranchInput {
5843
+ """
5844
+ The Node ID of the Repository containing the base branch that will be modified.
5845
+ """
5846
+ repositoryId : ID !
5847
+
5848
+ """
5849
+ The name of the base branch that the provided head will be merged into.
5850
+ """
5851
+ base : String !
5852
+
5853
+ """
5854
+ The head to merge into the base branch. This can be a branch name or a commit GitObjectID.
5855
+ """
5856
+ head : String !
5857
+
5858
+ """
5859
+ Message to use for the merge commit. If omitted, a default will be used.
5860
+ """
5861
+ commitMessage : String
5862
+
5863
+ """A unique identifier for the client performing the mutation."""
5864
+ clientMutationId : String
5865
+ }
5866
+
5867
+ """Autogenerated return type of MergeBranch"""
5868
+ type MergeBranchPayload {
5869
+ """A unique identifier for the client performing the mutation."""
5870
+ clientMutationId : String
5871
+
5872
+ """The resulting merge Commit."""
5873
+ mergeCommit : Commit
5874
+ }
5875
+
5838
5876
"""Represents a 'merged' event on a given pull request."""
5839
5877
type MergedEvent implements Node & UniformResourceLocatable {
5840
5878
"""Identifies the actor who performed the event."""
@@ -6278,6 +6316,9 @@ type Mutation {
6278
6316
"""Lock a lockable object"""
6279
6317
lockLockable (input : LockLockableInput ! ): LockLockablePayload
6280
6318
6319
+ """Merge a head into a branch."""
6320
+ mergeBranch (input : MergeBranchInput ! ): MergeBranchPayload
6321
+
6281
6322
"""Merge a pull request."""
6282
6323
mergePullRequest (input : MergePullRequestInput ! ): MergePullRequestPayload
6283
6324
@@ -6365,6 +6406,9 @@ type Mutation {
6365
6406
"""Update a Git Ref."""
6366
6407
updateRef (input : UpdateRefInput ! ): UpdateRefPayload
6367
6408
6409
+ """Update information about a repository."""
6410
+ updateRepository (input : UpdateRepositoryInput ! ): UpdateRepositoryPayload
6411
+
6368
6412
"""Updates the state for subscribable subjects."""
6369
6413
updateSubscription (input : UpdateSubscriptionInput ! ): UpdateSubscriptionPayload
6370
6414
@@ -7528,6 +7572,27 @@ enum ProjectState {
7528
7572
CLOSED
7529
7573
}
7530
7574
7575
+ """GitHub-provided templates for Projects"""
7576
+ enum ProjectTemplate {
7577
+ """Create a board with columns for To do, In progress and Done."""
7578
+ BASIC_KANBAN
7579
+
7580
+ """
7581
+ Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns.
7582
+ """
7583
+ AUTOMATED_KANBAN_V2
7584
+
7585
+ """
7586
+ Create a board with triggers to automatically move cards across columns with review automation.
7587
+ """
7588
+ AUTOMATED_REVIEWS_KANBAN
7589
+
7590
+ """
7591
+ Create a board to triage and prioritize bugs with To do, priority, and Done columns.
7592
+ """
7593
+ BUG_TRIAGE
7594
+ }
7595
+
7531
7596
"""A user's public key."""
7532
7597
type PublicKey implements Node {
7533
7598
"""
@@ -13117,6 +13182,54 @@ type UpdateRefPayload {
13117
13182
ref : Ref
13118
13183
}
13119
13184
13185
+ """Autogenerated input type of UpdateRepository"""
13186
+ input UpdateRepositoryInput {
13187
+ """The ID of the repository to update."""
13188
+ repositoryId : ID !
13189
+
13190
+ """The new name of the repository."""
13191
+ name : String
13192
+
13193
+ """
13194
+ A new description for the repository. Pass an empty string to erase the existing description.
13195
+ """
13196
+ description : String
13197
+
13198
+ """
13199
+ Whether this repository should be marked as a template such that anyone who
13200
+ can access it can create new repositories with the same files and directory structure.
13201
+ """
13202
+ template : Boolean
13203
+
13204
+ """
13205
+ The URL for a web page about this repository. Pass an empty string to erase the existing URL.
13206
+ """
13207
+ homepageUrl : URI
13208
+
13209
+ """Indicates if the repository should have the wiki feature enabled."""
13210
+ hasWikiEnabled : Boolean
13211
+
13212
+ """Indicates if the repository should have the issues feature enabled."""
13213
+ hasIssuesEnabled : Boolean
13214
+
13215
+ """
13216
+ Indicates if the repository should have the project boards feature enabled.
13217
+ """
13218
+ hasProjectsEnabled : Boolean
13219
+
13220
+ """A unique identifier for the client performing the mutation."""
13221
+ clientMutationId : String
13222
+ }
13223
+
13224
+ """Autogenerated return type of UpdateRepository"""
13225
+ type UpdateRepositoryPayload {
13226
+ """A unique identifier for the client performing the mutation."""
13227
+ clientMutationId : String
13228
+
13229
+ """The updated repository."""
13230
+ repository : Repository
13231
+ }
13232
+
13120
13233
"""Autogenerated input type of UpdateSubscription"""
13121
13234
input UpdateSubscriptionInput {
13122
13235
"""The Node ID of the subscribable object to modify."""
0 commit comments