library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

Search Pull Requests

Search for pull requests in a repository.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run github.pipeline.search_pull_requests \
--arg 'repository_owner=<string>' \
--arg 'repository_name=<string>' \
--arg 'search_value=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = github.pipeline.search_pull_requests
args = {
repository_owner = <string>
repository_name = <string>
search_value = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
repository_ownerstringYesThe organization or user name.-
repository_namestringYesThe name of the repository.-
search_valuestringYesThe search string to look for. Examples: Bug, [URGENTFIX]-
search_limitnumberYesReturns the last n elements from the list.20

Outputs

NameDescription
pull_requestsPull request details.