Search for GitHub pull requests.

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

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

Search for pull requests in a repository.

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

yaml
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

Search pull requests that are assigned to a certain user.

Finds pull requests created by a certain user or integration account.

Filter pull requests based on the branch they are merging into.

Specifies whether the pull request is closed.

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.

Search for pull requests that contain that SHA.

The SHA syntax must be at least seven characters.

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.

Specifies whether pull request is created by user who logged in using token.

Requires authentication.

Specifies whether the pull request is in draft.

Filter pull requests based on the branch they came from.

GitHub JWT token

Does not requires additional fields to log-in

GitHub login

Requires additional field: oauthToken, to log-in

Searched issues mentions by specified user.

Specifies whether the pull request is merged.

GitHub oauthToken

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

Specifies whether the pull request is open.

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.

Allow you to limit your search to specific areas of GitHub.

Search pull requests in a specific repository.

Default CREATED
Possible Values
CREATEDUPDATEDCOMMENTS

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

Search pull requests that have title like specified.

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

Format uri