gluecron_review_deployment
Approve or reject a workflow run's jobs waiting on a protected environment (environment: with required reviewers). The caller must be a reviewer of every environment selected (the environment's reviewers, or the repository owner when none are listed). An approval runs the job (after the environment's wait timer, if any); a rejection fails it. Mirrors POST /api/v2/repos/.../actions/runs/:id/pending_deployments. Requires 'repo' scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| state | Yes | "approved" or "rejected" | |
| run_id | Yes | The run's id, or a unique leading part of it (8+ hex characters) | |
| comment | No | ||
| environments | No | Environment names (or ids), as strings, to decide; omitted = every waiting one |