library
turbot/github
OverviewPipelines
0
Triggers
0
Variables
GitHub

Close Issue

Close an issue with the given ID.

Run the pipeline

To run this pipeline from your terminal:

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

Use this pipeline

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

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

Params

NameTypeRequiredDescriptionDefault
issue_numbernumberYesThe number of the issue.-
state_reasonstringYesThe reason for closing the issue. Supported values are COMPLETED and NOT_PLANNED.COMPLETED
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.-

Outputs

NameDescription
issueThe closed issue details.