blob: 0b8396b446101883eed5a347a4ad3491cc70bfe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
query getState($projectPath: ID!, $iid: String!) {
project(fullPath: $projectPath) {
id
archived
onlyAllowMergeIfPipelineSucceeds
mergeRequest(iid: $iid) {
id
autoMergeEnabled
commitCount
conflicts
diffHeadSha
mergeError
mergeStatus
mergeableDiscussionsState
headPipeline {
id
status
warnings
}
shouldBeRebased
sourceBranchExists
state
targetBranchExists
userPermissions {
canMerge
}
draft
}
}
}
|