@@ -943,6 +943,46 @@ type AutoMergeEnabledEvent implements Node {
943943 pullRequest: PullRequest
944944}
945945
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+
946986"""
947987Represents a 'auto_rebase_enabled' event on a given pull request.
948988"""
@@ -6902,6 +6942,41 @@ enum DiffSide {
69026942 RIGHT
69036943}
69046944
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+
69056980"""
69066981Represents a 'disconnected' event on a given issue or pull request.
69076982"""
@@ -7023,6 +7098,61 @@ input DraftPullRequestReviewThread {
70237098 startSide: DiffSide = RIGHT
70247099}
70257100
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+
70267156"""
70277157An account to manage multiple organizations with consolidated policy and billing.
70287158"""
@@ -14179,11 +14309,21 @@ type Mutation {
1417914309 """
1418014310 deleteTeamDiscussionComment(input: DeleteTeamDiscussionCommentInput!): DeleteTeamDiscussionCommentPayload
1418114311
14312+ """
14313+ Disable auto merge on the given pull request
14314+ """
14315+ disablePullRequestAutoMerge(input: DisablePullRequestAutoMergeInput!): DisablePullRequestAutoMergePayload
14316+
1418214317 """
1418314318 Dismisses an approved or rejected pull request review.
1418414319 """
1418514320 dismissPullRequestReview(input: DismissPullRequestReviewInput!): DismissPullRequestReviewPayload
1418614321
14322+ """
14323+ Enable the default auto-merge on a pull request.
14324+ """
14325+ enablePullRequestAutoMerge(input: EnablePullRequestAutoMergeInput!): EnablePullRequestAutoMergePayload
14326+
1418714327 """
1418814328 Follow a user.
1418914329 """
@@ -20389,6 +20529,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
2038920529 """
2039020530 authorAssociation: CommentAuthorAssociation!
2039120531
20532+ """
20533+ Returns the auto-merge request object if one exists for this pull request.
20534+ """
20535+ autoMergeRequest: AutoMergeRequest
20536+
2039220537 """
2039320538 Identifies the base Ref associated with the pull request.
2039420539 """
@@ -21108,6 +21253,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
2110821253 """
2110921254 viewerCanDeleteHeadRef: Boolean!
2111021255
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+
2111121266 """
2111221267 Can user react to this subject
2111321268 """
0 commit comments