jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-64016] Add repo filtering by graphql query using GitHub search

Open
#1,325 3 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

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

---
Originally reported by timja, imported from: Add repo filtering by graphql query using GitHub search


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 2025-12-02

Raw content of original issue

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.