41 lines
757 B
GraphQL
41 lines
757 B
GraphQL
fragment ReadyToMerge on Project {
|
|
onlyAllowMergeIfPipelineSucceeds
|
|
mergeRequestsFfOnlyEnabled
|
|
squashReadOnly
|
|
mergeRequest(iid: $iid) {
|
|
autoMergeEnabled
|
|
shouldRemoveSourceBranch
|
|
forceRemoveSourceBranch
|
|
defaultMergeCommitMessage
|
|
defaultMergeCommitMessageWithDescription
|
|
defaultSquashCommitMessage
|
|
squash
|
|
squashOnMerge
|
|
availableAutoMergeStrategies
|
|
hasCi
|
|
mergeable
|
|
mergeWhenPipelineSucceeds
|
|
commitCount
|
|
diffHeadSha
|
|
userPermissions {
|
|
removeSourceBranch
|
|
}
|
|
targetBranch
|
|
mergeError
|
|
commitsWithoutMergeCommits {
|
|
nodes {
|
|
sha
|
|
shortId
|
|
title
|
|
message
|
|
}
|
|
}
|
|
headPipeline {
|
|
id
|
|
status
|
|
path
|
|
active
|
|
}
|
|
}
|
|
}
|