debian-mirror-gitlab/app/assets/javascripts/pipeline_editor/graphql/queries/latest_commit_sha.query.graphql
2021-09-30 23:02:18 +05:30

12 lines
212 B
GraphQL

query getLatestCommitSha($projectPath: ID!, $ref: String) {
project(fullPath: $projectPath) {
pipelines(ref: $ref) {
nodes {
id
sha
path
commitPath
}
}
}
}