library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Close Pull Request

Closes a pull request.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run github.pipeline.close_pull_request \
--arg 'repository_owner=<string>' \
--arg 'repository_name=<string>' \
--arg 'pull_request_number=<number>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = github.pipeline.close_pull_request
args = {
repository_owner = <string>
repository_name = <string>
pull_request_number = <number>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.github
YesName of Github connection to use. If not provided, the default Github connection will be used.connection.github.default
repository_owner
string
YesThe organization or user name.-
repository_name
string
YesThe name of the repository.-
pull_request_number
number
YesThe pull request number.-

Outputs

NameDescription
pull_requestClosed pull request details.