Approve or reject pending deployments for a run
One step with GitHub. We can help you get access.
Get something done
Approve or reject pending deployments for a run
with GitHub · Continuous Integration Management
Use GitHub: its GitHub v3 REST Actions API lets you approve or reject pending deployments for a run in a single step (POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments). capabilities.work can help you get signed up and connected.
- How do I approve a deployment that's waiting on me as a required reviewer?
- Can I reject a pending production deployment with a comment?
Say it to your AI assistant
- Mark pending deployments to environments {environment_ids} in run {run_id} of {owner}/{repo} as {state} with comment {comment}.
- Approve environments {environment_ids} for run {run_id} in {owner}/{repo}, set state {state}, and note {comment}.
For your developer
POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments in GitHub v3 REST Actions API. Full spec on APIs.io.