library
turbot/github
Get Involved
Version
Pipeline: 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 'repository_owner=<string>' \ --arg 'repository_name=<string>' \ --arg 'issue_number=<number>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = github.pipeline.close_issue args = { repository_owner = <string> repository_name = <string> issue_number = <number> }}Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| conn | connection.github | Yes | Name of Github connection to use. If not provided, the default Github connection will be used. | connection.github.default |
| repository_owner | string | Yes | The organization or user name. | - |
| repository_name | string | Yes | The name of the repository. | - |
| issue_number | number | Yes | The number of the issue. | - |
| state_reason | string | Yes | The reason for closing the issue. Supported values are COMPLETED and NOT_PLANNED. | COMPLETED |
Outputs
| Name | Description |
|---|---|
| issue | The closed issue details. |
Tags
recommended = true