Mutation
mutation SubmitGitLabMergeRequestMerge($input: SubmitGitLabMergeRequestMergeInput!) {
submitGitLabMergeRequestMerge(input: $input) {
mergeRequest {
projectPath
sourceProjectId
worktreeId
worktreeHighlightColor
ticketKey
approvalState
}
operation {
id
state
autoMerge
worktreeId
ticketKey
lastError
}
postMergeError
}
}Variables
{
"input": {
"projectId": "id",
"iid": 1,
"sha": "string"
}
}Response
{
"data": {
"submitGitLabMergeRequestMerge": {
"mergeRequest": {
"projectPath": "string",
"sourceProjectId": "id",
"worktreeId": "id",
"worktreeHighlightColor": "string",
"ticketKey": "string",
"approvalState": "string"
},
"operation": {
"id": "id",
"state": "string",
"autoMerge": true,
"worktreeId": "id",
"ticketKey": "string",
"lastError": "string"
},
"postMergeError": "string"
}
}
}Mutations
submitGitLabMergeRequestMerge
Persist merge choices before submitting to GitLab.
MUTATION
submitGitLabMergeRequestMerge(input: SubmitGitLabMergeRequestMergeInput!): GitLabMergeResult!Arguments
input
required
Reviewed commit and selected merge and follow-up options.
Returns
mergeRequest
Fresh provider merge-request state after the requested action.
operation
Persisted merge intent and follow-up outcome, when available.
postMergeError
String
Follow-up error after a confirmed merge; this does not indicate merge failure.
Mutation
mutation SubmitGitLabMergeRequestMerge($input: SubmitGitLabMergeRequestMergeInput!) {
submitGitLabMergeRequestMerge(input: $input) {
mergeRequest {
projectPath
sourceProjectId
worktreeId
worktreeHighlightColor
ticketKey
approvalState
}
operation {
id
state
autoMerge
worktreeId
ticketKey
lastError
}
postMergeError
}
}Variables
{
"input": {
"projectId": "id",
"iid": 1,
"sha": "string"
}
}Response
{
"data": {
"submitGitLabMergeRequestMerge": {
"mergeRequest": {
"projectPath": "string",
"sourceProjectId": "id",
"worktreeId": "id",
"worktreeHighlightColor": "string",
"ticketKey": "string",
"approvalState": "string"
},
"operation": {
"id": "id",
"state": "string",
"autoMerge": true,
"worktreeId": "id",
"ticketKey": "string",
"lastError": "string"
},
"postMergeError": "string"
}
}
}