diff options
Diffstat (limited to 'app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.graphql')
-rw-r--r-- | app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.graphql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.graphql b/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.graphql new file mode 100644 index 00000000000..f162bb11d47 --- /dev/null +++ b/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.graphql @@ -0,0 +1,9 @@ +query getAvailableBranches($projectFullPath: ID!) { + project(fullPath: $projectFullPath) @client { + repository { + branches { + name + } + } + } +} |