debian-mirror-gitlab/app/assets/javascripts/vue_merge_request_widget/queries/get_state.query.graphql

31 lines
574 B
GraphQL
Raw Normal View History

2020-10-24 23:57:45 +05:30
query getState($projectPath: ID!, $iid: String!) {
project(fullPath: $projectPath) {
2020-11-24 15:15:51 +05:30
archived
onlyAllowMergeIfPipelineSucceeds
2020-10-24 23:57:45 +05:30
mergeRequest(iid: $iid) {
2020-11-24 15:15:51 +05:30
autoMergeEnabled
commitCount
conflicts
diffHeadSha
mergeError
mergeStatus
mergeableDiscussionsState
pipelines(first: 1) {
nodes {
status
2021-03-11 19:13:27 +05:30
warnings
2020-11-24 15:15:51 +05:30
}
}
shouldBeRebased
sourceBranchExists
2021-03-11 19:13:27 +05:30
state
2020-11-24 15:15:51 +05:30
targetBranchExists
userPermissions {
canMerge
}
2020-10-24 23:57:45 +05:30
workInProgress
}
}
}