gitlab-org--gitlab-foss/app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.gra...

29 lines
545 B
GraphQL

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 {
sha
}
commitPipelinePath
errors
}
}