Search
Search for GitHub code.
Requires authentication.
type: "io.kestra.plugin.github.code.Search"
Search for code in a repository.
id: github_code_search_flow
namespace: company.team
tasks:
- id: search_code
type: io.kestra.plugin.github.code.Search
oauthToken: your_github_token
query: "addClass in:file language:js repo:jquery/jquery"
Search for code in a repository.
id: github_code_search_flow
namespace: company.team
tasks:
- id: search_code
type: io.kestra.plugin.github.code.Search
oauthToken: your_github_token
query: addClass
in: file
language: js
repository: jquery/jquery
YES
The file extension.
YES
The file name.
YES
PARENT_AND_FORKS
FORKS_ONLY
PARENT_ONLY
Whether to include forks.
YES
In
YES
GitHub JWT token
Does not requires additional fields to log-in
YES
The language.
YES
GitHub login
Requires additional field: oauthToken, to log-in
YES
GitHub oauthToken
GitHub Personal Access Token. In addition, can be used with login or by its own
YES
ASC
ASC
DESC
Order of the output.
ASC - the results will be in ascending order
DESC - the results will be in descending order
YES
The file path.
YES
The query contains one or more search keywords and qualifiers.
Allow you to limit your search to specific areas of GitHub.
YES
The GitHub repository.
YES
The file size.
YES
BEST_MATCH
BEST_MATCH
INDEXED
Sort condition for the output.
BEST_MATCH - the results will be sorted by best match results
INDEXED - the results will be sorted by the index
YES
Search commits in all repositories owned by a certain user.
uri