@@ -943,6 +943,46 @@ type AutoMergeEnabledEvent implements Node {
943
943
pullRequest: PullRequest
944
944
}
945
945
946
+ """
947
+ Represents an auto-merge request for a pull request
948
+ """
949
+ type AutoMergeRequest {
950
+ """
951
+ The email address of the author of this auto-merge request.
952
+ """
953
+ authorEmail: String
954
+
955
+ """
956
+ The commit message of the auto-merge request.
957
+ """
958
+ commitBody: String
959
+
960
+ """
961
+ The commit title of the auto-merge request.
962
+ """
963
+ commitHeadline: String
964
+
965
+ """
966
+ When was this auto-merge request was enabled.
967
+ """
968
+ enabledAt: DateTime
969
+
970
+ """
971
+ The actor who created the auto-merge request.
972
+ """
973
+ enabledBy: Actor
974
+
975
+ """
976
+ The merge method of the auto-merge request.
977
+ """
978
+ mergeMethod: PullRequestMergeMethod!
979
+
980
+ """
981
+ The pull request that this auto-merge request is set against.
982
+ """
983
+ pullRequest: PullRequest!
984
+ }
985
+
946
986
"""
947
987
Represents a 'auto_rebase_enabled' event on a given pull request.
948
988
"""
@@ -6902,6 +6942,41 @@ enum DiffSide {
6902
6942
RIGHT
6903
6943
}
6904
6944
6945
+ """
6946
+ Autogenerated input type of DisablePullRequestAutoMerge
6947
+ """
6948
+ input DisablePullRequestAutoMergeInput {
6949
+ """
6950
+ A unique identifier for the client performing the mutation.
6951
+ """
6952
+ clientMutationId: String
6953
+
6954
+ """
6955
+ ID of the pull request to disable auto merge on.
6956
+ """
6957
+ pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"])
6958
+ }
6959
+
6960
+ """
6961
+ Autogenerated return type of DisablePullRequestAutoMerge
6962
+ """
6963
+ type DisablePullRequestAutoMergePayload {
6964
+ """
6965
+ Identifies the actor who performed the event.
6966
+ """
6967
+ actor: Actor
6968
+
6969
+ """
6970
+ A unique identifier for the client performing the mutation.
6971
+ """
6972
+ clientMutationId: String
6973
+
6974
+ """
6975
+ The pull request auto merge was disabled on.
6976
+ """
6977
+ pullRequest: PullRequest
6978
+ }
6979
+
6905
6980
"""
6906
6981
Represents a 'disconnected' event on a given issue or pull request.
6907
6982
"""
@@ -7023,6 +7098,61 @@ input DraftPullRequestReviewThread {
7023
7098
startSide: DiffSide = RIGHT
7024
7099
}
7025
7100
7101
+ """
7102
+ Autogenerated input type of EnablePullRequestAutoMerge
7103
+ """
7104
+ input EnablePullRequestAutoMergeInput {
7105
+ """
7106
+ The email address to associate with this merge.
7107
+ """
7108
+ authorEmail: String
7109
+
7110
+ """
7111
+ A unique identifier for the client performing the mutation.
7112
+ """
7113
+ clientMutationId: String
7114
+
7115
+ """
7116
+ Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used.
7117
+ """
7118
+ commitBody: String
7119
+
7120
+ """
7121
+ Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used.
7122
+ """
7123
+ commitHeadline: String
7124
+
7125
+ """
7126
+ The merge method to use. If omitted, defaults to 'MERGE'
7127
+ """
7128
+ mergeMethod: PullRequestMergeMethod = MERGE
7129
+
7130
+ """
7131
+ ID of the pull request to enable auto-merge on.
7132
+ """
7133
+ pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"])
7134
+ }
7135
+
7136
+ """
7137
+ Autogenerated return type of EnablePullRequestAutoMerge
7138
+ """
7139
+ type EnablePullRequestAutoMergePayload {
7140
+ """
7141
+ Identifies the actor who performed the event.
7142
+ """
7143
+ actor: Actor
7144
+
7145
+ """
7146
+ A unique identifier for the client performing the mutation.
7147
+ """
7148
+ clientMutationId: String
7149
+
7150
+ """
7151
+ The pull request auto-merge was enabled on.
7152
+ """
7153
+ pullRequest: PullRequest
7154
+ }
7155
+
7026
7156
"""
7027
7157
An account to manage multiple organizations with consolidated policy and billing.
7028
7158
"""
@@ -14179,11 +14309,21 @@ type Mutation {
14179
14309
"""
14180
14310
deleteTeamDiscussionComment(input: DeleteTeamDiscussionCommentInput!): DeleteTeamDiscussionCommentPayload
14181
14311
14312
+ """
14313
+ Disable auto merge on the given pull request
14314
+ """
14315
+ disablePullRequestAutoMerge(input: DisablePullRequestAutoMergeInput!): DisablePullRequestAutoMergePayload
14316
+
14182
14317
"""
14183
14318
Dismisses an approved or rejected pull request review.
14184
14319
"""
14185
14320
dismissPullRequestReview(input: DismissPullRequestReviewInput!): DismissPullRequestReviewPayload
14186
14321
14322
+ """
14323
+ Enable the default auto-merge on a pull request.
14324
+ """
14325
+ enablePullRequestAutoMerge(input: EnablePullRequestAutoMergeInput!): EnablePullRequestAutoMergePayload
14326
+
14187
14327
"""
14188
14328
Follow a user.
14189
14329
"""
@@ -20389,6 +20529,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
20389
20529
"""
20390
20530
authorAssociation: CommentAuthorAssociation!
20391
20531
20532
+ """
20533
+ Returns the auto-merge request object if one exists for this pull request.
20534
+ """
20535
+ autoMergeRequest: AutoMergeRequest
20536
+
20392
20537
"""
20393
20538
Identifies the base Ref associated with the pull request.
20394
20539
"""
@@ -21108,6 +21253,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
21108
21253
"""
21109
21254
viewerCanDeleteHeadRef: Boolean!
21110
21255
21256
+ """
21257
+ Whether or not the viewer can disable auto-merge
21258
+ """
21259
+ viewerCanDisableAutoMerge: Boolean!
21260
+
21261
+ """
21262
+ Whether or not the viewer can enable auto-merge
21263
+ """
21264
+ viewerCanEnableAutoMerge: Boolean!
21265
+
21111
21266
"""
21112
21267
Can user react to this subject
21113
21268
"""
0 commit comments