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