gitlab-ce/app/assets/javascripts/repository/queries/path_last_commit.query.graphql

39 lines
811 B
GraphQL

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