diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 16:37:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 16:37:47 +0300 |
commit | aee0a117a889461ce8ced6fcf73207fe017f1d99 (patch) | |
tree | 891d9ef189227a8445d83f35c1b0fc99573f4380 /app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql | |
parent | 8d46af3258650d305f53b819eabf7ab18d22f59e (diff) |
Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42
Diffstat (limited to 'app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql')
-rw-r--r-- | app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql b/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql new file mode 100644 index 00000000000..359b4a846c7 --- /dev/null +++ b/app/assets/javascripts/pipeline_editor/graphql/queries/available_branches.query.graphql @@ -0,0 +1,13 @@ +query getAvailableBranches( + $limit: Int! + $offset: Int! + $projectFullPath: ID! + $searchPattern: String! +) { + project(fullPath: $projectFullPath) { + id + repository { + branchNames(limit: $limit, offset: $offset, searchPattern: $searchPattern) + } + } +} |