library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Pull Request

Update a pull request's body, title, and assignees.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run github.pipeline.update_pull_request \
--arg 'repository_name=<string>' \
--arg 'pull_request_number=<number>' \
--arg 'pull_request_body=<string>' \
--arg 'pull_request_title=<string>' \
--arg 'assignee_ids=<list of string>' \
--arg 'repository_owner=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = github.pipeline.update_pull_request
args = {
repository_name = <string>
pull_request_number = <number>
pull_request_body = <string>
pull_request_title = <string>
assignee_ids = <list of string>
repository_owner = <string>
}
}

Params

NameTypeRequiredDefaultDescription
repository_namestringYes-The name of the repository.
pull_request_numbernumberYes-The pull request number.
pull_request_bodystringYes-The contents of the pull request.
pull_request_titlestringYes-The title of the pull request.
assignee_idslist of stringYes-An array of Node IDs of users for this pull request.
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.
repository_ownerstringYes-The organization or user name.

Outputs

NameDescription
pull_requestPull request details.