
Search
If no authentication is provided, anonymous authentication will be used. Anonymous authentication can't retrieve full information.
If no authentication is provided, anonymous authentication will be used. Anonymous authentication can't retrieve full information.
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
assignedstring
Search pull requests that are assigned to a certain user.
basestring
Filter pull requests based on the branch they are merging into.
closedbooleanstring
Specifies whether the pull request is closed.
closedAtstring
Search for code based on when pull request was closed.
commitstring
Search for pull requests that contain that SHA.
The SHA syntax must be at least seven characters.
createdAtstring
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.
createdByMebooleanstring
Specifies whether pull request is created by user who logged in using token.
Requires authentication.
draftbooleanstring
Specifies whether the pull request is in draft.
headstring
Filter pull requests based on the branch they came from.
jwtTokenstring
GitHub JWT token
Does not requires additional fields to log-in
loginstring
GitHub login
Requires additional field: oauthToken, to log-in
mentionsstring
Searched issues mentions by specified user.
mergedbooleanstring
Specifies whether the pull request is merged.
oauthTokenstring
GitHub oauthToken
GitHub Personal Access Token. In addition, can be used with login or by its own
openbooleanstring
Specifies whether the pull request is open.
orderstring
ASCASCDESCOrder of the output.
ASC - the results will be in ascending order
DESC - the results will be in descending order
querystring
The query contains one or more search keywords and qualifiers.
Allow you to limit your search to specific areas of GitHub.
repositorystring
Search pull requests in a specific repository.
sortstring
CREATEDCREATEDUPDATEDCOMMENTSSort 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
titlestring
Search pull requests that have title like specified.
updatedAtstring
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
uristring
uri