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