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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"runId": "<runId>",
"environmentIds": "<environmentIds>",
"state": "<state>",
"comment": "<comment>"
},
"name": "github_actions_review_pending_deployments"
}
}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`. |