Welcome to mirror list, hosted at ThFree Co, Russian Federation.

latest_commit_sha.query.graphql « queries « graphql « pipeline_editor « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 02d4950794712c80793ad1892f823a0a4c566419 (plain)
1
2
3
4
5
6
7
8
9
10
11
query getLatestCommitSha($projectPath: ID!, $ref: String) {
  project(fullPath: $projectPath) {
    repository {
      tree(ref: $ref) {
        lastCommit {
          sha
        }
      }
    }
  }
}