debian-mirror-gitlab/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
2019-09-30 21:07:59 +05:30

29 lines
578 B
GraphQL

query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
project(fullPath: $projectPath) {
repository {
tree(path: $path, ref: $ref) {
lastCommit {
sha
title
message
webUrl
authoredDate
author {
name
avatarUrl
webUrl
}
latestPipeline {
detailedStatus {
detailsPath
icon
tooltip
text
group
}
}
}
}
}
}
}