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

commit_ci_file.mutation.graphql « mutations « 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: 3495ca51283388ef3de84a25269083999f721796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
mutation commitCIFile(
  $action: CommitActionMode!
  $projectPath: ID!
  $branch: String!
  $startBranch: String
  $message: String!
  $filePath: String!
  $lastCommitId: String!
  $content: String
) {
  commitCreate(
    input: {
      projectPath: $projectPath
      branch: $branch
      startBranch: $startBranch
      message: $message
      actions: [
        { action: $action, filePath: $filePath, lastCommitId: $lastCommitId, content: $content }
      ]
    }
  ) {
    commit {
      id
      sha
    }
    commitPipelinePath
    errors
  }
}