Details
-
Type:
New Feature
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: github-branch-source-plugin
-
Labels:None
-
Similar Issues:
Description
Add support for providing a search query using the graph ql search endpoint
example query:
query findByGitHubSearch($queryString: String!) {
search(query: $queryString, type: REPOSITORY, first: 100) {
repositoryCount
edges {
node {
... on Repository {
name
}
}
}
}
}
where query has:
{"queryString": "user:my-user keyword" }
the user part of the query should be automatically added by the plugin
This PR is related: https://github.com/jenkinsci/github-branch-source-plugin/pull/344
but it would be good to have general purpose search as well not just topics