summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql')
-rw-r--r--app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql b/app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql
index 2af0cd5f6d4..3b2daa45a18 100644
--- a/app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql
+++ b/app/assets/javascripts/pipeline_editor/graphql/mutations/commit_ci_file.mutation.graphql
@@ -1,4 +1,5 @@
mutation commitCIFile(
+ $action: CommitActionMode!
$projectPath: ID!
$branch: String!
$startBranch: String
@@ -14,7 +15,7 @@ mutation commitCIFile(
startBranch: $startBranch
message: $message
actions: [
- { action: UPDATE, filePath: $filePath, lastCommitId: $lastCommitId, content: $content }
+ { action: $action, filePath: $filePath, lastCommitId: $lastCommitId, content: $content }
]
}
) {