github_actions_review_pending_deployments
Approve or reject pending deployments for a GitHub Actions workflow run using environment IDs; GitHub requires a review comment.
Instructions
Approve or reject a run's pending deployments. Takes the environment ids from actions_list_pending_deployments. A comment is required by GitHub, not optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| owner | Yes | The account owner of the repository. The name is not case sensitive. | |
| runId | Yes | The ID of the workflow run. | |
| state | Yes | Whether to approve or reject deployment to the specified environments. | |
| comment | Yes | A comment to accompany the deployment review. | |
| environmentIds | Yes | The list of environment ids to approve or reject. These are the `environment.id` values from `actions_list_pending_deployments`. |