debian-mirror-gitlab/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
2019-12-26 22:10:19 +05:30

35 lines
742 B
GraphQL

query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
project(fullPath: $projectPath) {
repository {
tree(path: $path, ref: $ref) {
lastCommit {
sha
title
description
webUrl
authoredDate
authorName
author {
name
avatarUrl
webUrl
}
signatureHtml
pipelines(ref: $ref, first: 1) {
edges {
node {
detailedStatus {
detailsPath
icon
tooltip
text
group
}
}
}
}
}
}
}
}
}