Create GraphQL query to fetch deploy keys
Part of Edit Branch Rules: Update selector to support s... (#431769 - closed) and Implement the ability to add branch Protections (#362212 - closed)
As part of the new branch rules feature we need to be able to search for deploy keys.
The query should be a new node under the project node in graphql, named something like availableDeployKeys
.
The current UI uses this controller action https://gitlab.com/gitlab-org/gitlab/-/blob/00effcbbfa38862742c9188d0f0099b8ac47e868/app/controllers/autocomplete_controller.rb#L74-90 We can reuse this logic but pass in the project
Edited by Joe Woodward