library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Pull Request Comment

Create a comment on pull request.

Run the pipeline

To run this pipeline from your terminal:

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

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = github.pipeline.create_pull_request_comment
args = {
repository_owner = <string>
repository_name = <string>
pull_request_number = <number>
pull_request_comment = <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.-
pull_request_numbernumberYesThe pull request number.-
pull_request_commentstringYesThe contents of the comment.-

Outputs

NameDescription
pull_requestPull request comment details.

Tags

type = featured