debian-mirror-gitlab/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
2020-05-25 16:23:42 +05:30

38 lines
805 B
GraphQL

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