
Search
This task requires authentication.
This task requires authentication.
Search for GitHub code.
This task requires authentication.
type: "io.kestra.plugin.github.code.Search"Examples
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
Properties
extensionstring
The file extension.
filenamestring
The file name.
forkstring
PARENT_AND_FORKSFORKS_ONLYPARENT_ONLYWhether to include forks.
instring
In
jwtTokenstring
GitHub JWT token
Does not requires additional fields to log-in
languagestring
The language.
loginstring
GitHub login
Requires additional field: oauthToken, to log-in
oauthTokenstring
GitHub oauthToken
GitHub Personal Access Token. In addition, can be used with login or by its own
orderstring
ASCASCDESCOrder of the output.
ASC - the results will be in ascending order
DESC - the results will be in descending order
pathstring
The file path.
querystring
The query contains one or more search keywords and qualifiers.
Allow you to limit your search to specific areas of GitHub.
repositorystring
The GitHub repository.
sizestring
The file size.
sortstring
BEST_MATCHBEST_MATCHINDEXEDSort condition for the output.
BEST_MATCH - the results will be sorted by best match results
INDEXED - the results will be sorted by the index
userstring
Search commits in all repositories owned by a certain user.
Outputs
uristring
uri