Search for GitHub repositories.

If no authentication is provided, anonymous authentication will be used. Anonymous authentication can't retrieve full information.

yaml
type: "io.kestra.plugin.github.repositories.Search"

Search for Github repositories using query.

yaml
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.

yaml
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.

yaml
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.

yaml
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
Properties

Search for code based on when repository was created.

GitHub JWT token

Does not requires additional fields to log-in

Search for code based on what language it's written in.

Can be the language name or alias.

GitHub login

Requires additional field: oauthToken, to log-in

GitHub oauthToken

GitHub Personal Access Token. In addition, can be used with login or by its own

Default ASC
Possible Values
ASCDESC

Order of the output.

ASC - the results will be in ascending order

DESC - the results will be in descending order

The query contains one or more search keywords and qualifiers.

Qualifiers allow you to limit your search to specific areas of GitHub.

To search the code in a specific repository.

Example string: "myUserName/MyRepository". query equivalent: "repo: myUserName/MyRepository".

Default UPDATED
Possible Values
UPDATEDSTARSFORKS

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

Search for code based on how many starts repository has.

Search the code by topic

Search the code in all repositories owned by a certain user.

To search by organization, use: "query: org: myOrganization".

Possible Values
PUBLICPRIVATEINTERNAL

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

Format uri