Search
Search for GitHub pull requests.
If no authentication is provided, anonymous authentication will be used. Anonymous authentication can't retrieve full information.
type: "io.kestra.plugin.github.pulls.Search"
Examples
Search for pull requests in a repository.
id: github_pulls_search_flow
namespace: company.team
tasks:
- id: search_pull_requests
type: io.kestra.plugin.github.pulls.Search
oauthToken: your_github_token
query: "repo:kestra-io/plugin-github is:open"
Search for open pull requests in a repository.
id: github_pulls_search_flow
namespace: company.team
tasks:
- id: search_open_pull_requests
type: io.kestra.plugin.github.pulls.Search
oauthToken: your_github_token
repository: kestra-io/plugin-github
open: TRUE
Properties
assigned string
Search pull requests that are assigned to a certain user.
base string
Filter pull requests based on the branch they are merging into.
closed booleanstring
Specifies whether the pull request is closed.
closedAt string
Search for code based on when pull request was closed.
You can use greater than, less than, and range qualifiers (..
between two dates) to further filter results.
commit string
Search for pull requests that contain that SHA.
The SHA syntax must be at least seven characters.
createdAt string
Search for code based on when the pull request was created.
You can use greater than, less than, and range qualifiers (..
between two dates) to further filter results.
createdByMe booleanstring
Specifies whether pull request is created by user who logged in using token.
Requires authentication.
draft booleanstring
Specifies whether the pull request is in draft.
head string
Filter pull requests based on the branch they came from.
jwtToken string
GitHub JWT token
Does not requires additional fields to log-in
login string
GitHub login
Requires additional field: oauthToken, to log-in
mentions string
Searched issues mentions by specified user.
merged booleanstring
Specifies whether the pull request is merged.
oauthToken string
GitHub oauthToken
GitHub Personal Access Token. In addition, can be used with login or by its own
open booleanstring
Specifies whether the pull request is open.
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
query string
The query contains one or more search keywords and qualifiers.
Allow you to limit your search to specific areas of GitHub.
repository string
Search pull requests in a specific repository.
sort string
CREATED
CREATED
UPDATED
COMMENTS
Sort condition for the output.
CREATED - Sorts the results of query by the time issue was created (DEFAULT)
UPDATED - Sorts the results of query by the tome issue was last time updated
COMMENTS - Sorts the results of query by the number of comments
title string
Search pull requests that have title like specified.
updatedAt string
Search for code based on when pull request was updated last time
You can use greater than, less than, and range qualifiers (..
between two dates) to further filter results
Outputs
uri string
uri