Search
Search for GitHub repositories.
If no authentication is provided, anonymous authentication will be used. Anonymous authentication can't retrieve full information.
type: "io.kestra.plugin.github.repositories.Search"
Search for Github repositories using query.
id: github_repo_search_flow
namespace: company.team
tasks:
- id: search_repositories
type: io.kestra.plugin.github.repositories.Search
oauthToken: your_github_token
query: "repo:kestra-io/plugin-github"
Search for Github repositories using repository.
id: github_repo_search_flow
namespace: company.team
tasks:
- id: search_repositories
type: io.kestra.plugin.github.repositories.Search
oauthToken: your_github_token
repository: kestra-io/plugin-github
Search for Github repositories and order the results.
id: github_repo_search_flow
namespace: company.team
tasks:
- id: search_repositories
type: io.kestra.plugin.github.repositories.Search
oauthToken: your_github_token
query: "user:kestra-io language:java is:public"
sort: STARS
order: DESC
Search for Github repositories with filters like language and visibility, and order the results.
id: github_repo_search_flow
namespace: company.team
tasks:
- id: search_repositories
type: io.kestra.plugin.github.repositories.Search
oauthToken: your_github_token
user: kestra-io
language: java
visibility: PUBLIC
sort: STARS
order: DESC
YES
Search for code based on when repository was created.
YES
GitHub JWT token
Does not requires additional fields to log-in
YES
Search for code based on what language it's written in.
Can be the language name or alias.
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 query contains one or more search keywords and qualifiers.
Qualifiers allow you to limit your search to specific areas of GitHub.
YES
To search the code in a specific repository.
Example string: "myUserName/MyRepository". query equivalent: "repo: myUserName/MyRepository".
YES
UPDATED
UPDATED
STARS
FORKS
Sort condition of the output.
UPDATED - the results will be sorted by when the repository was last updated
STARS - the results will be sorted by the number of stars the repository has
FORKS - the results will be sorted by the number of forks the repository has
YES
Search for code based on how many starts repository has.
YES
Search the code by topic
YES
Search the code in all repositories owned by a certain user.
To search by organization, use: "query: org: myOrganization".
YES
PUBLIC
PRIVATE
INTERNAL
Search repository that have specified repositories. By default, it's search for all repositories.
PUBLIC - shows only public repositories
PRIVATE - shows only private repositories that are available for user who is searching
INTERNAL - shows only internal repositories
uri