blob: 981c667f27af1da61309ab24b280ebd1f6123dfa (
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
32
|
query getState($projectPath: ID!, $iid: String!) {
project(fullPath: $projectPath) {
id
archived
onlyAllowMergeIfPipelineSucceeds
mergeRequest(iid: $iid) {
id
autoMergeEnabled
availableAutoMergeStrategies
commitCount
conflicts
diffHeadSha
mergeError
mergeStatus
mergeable
mergeableDiscussionsState
headPipeline {
id
status
warnings
}
shouldBeRebased
sourceBranchExists
state
targetBranchExists
userPermissions {
canMerge
}
draft
}
}
}
|