Search
Search for GitHub commits.
This task requires authentication.
type: "io.kestra.plugin.github.commits.Search"
Examples
Search for commits in a repository.
id: github_commit_search_flow
namespace: company.team
tasks:
- id: search_commit
type: io.kestra.plugin.github.commits.Search
oauthToken: your_github_token
query: "Initial repo:kestra-io/plugin-github language:java"
Search for commits in a repository.
id: github_commit_search_flow
namespace: company.team
tasks:
- id: search_commit
type: io.kestra.plugin.github.commits.Search
oauthToken: your_github_token
query: Initial
repository: kestra-io/plugin-github
Properties
committer string
Find commits by a particular user
committerDate string
Match commits committed within the specified date range.
When you search for a date, you can use greater than, less than, and range qualifiers to further filter results.
committerEmail string
Match commits by the committer's full email address.
committerName string
Match commits by the name of the committer
hash string
Matches commits with the specified SHA-1 hash.
is string
Matches commits from repositories with the specified visibility.
jwtToken string
GitHub JWT token
Does not requires additional fields to log-in
login string
GitHub login
Requires additional field: oauthToken, to log-in
merge booleanstring
Whether to filter merge commits.
oauthToken string
GitHub oauthToken
GitHub Personal Access Token. In addition, can be used with login or by its own
order string
ASC
ASC
DESC
Order of the output.
ASC - the results will be in ascending order
DESC - the results will be in descending order
org string
Search commits in all repositories owned by a certain organization.
parent string
Matches commits whose parent has the specified SHA-1 hash.
query string
The query contains one or more search keywords and qualifiers.
Allows you to limit your search to specific areas of GitHub.
repository string
Search in specified repository.
sort string
COMMITTER_DATE
COMMITTER_DATE
AUTHOR_DATE
Sort condition for the output.
COMMITTER_DATE - the results will be sorted by when user joined to Github
AUTHOR_DATE - the results will be sorted by the number of repositories owned by user
tree string
Matches commits with the specified SHA-1 git tree hash.
user string
Search commits in all repositories owned by a certain user
Outputs
uri string
uri