GitHub Actions · Arazzo Workflow
GitHub Actions Approve a Pending Deployment
Version 1.0.0
Get a run, find its pending deployment environments, approve them, then poll the run to completion.
Provider
Workflows
approve-pending-deployment
Approve the pending deployment environments for a run and follow it to completion.
Reads the run, lists pending deployments, approves the waiting environment, and polls the run until its status is completed.
1
getRun
Fetch the run to confirm it exists and is waiting before reviewing its pending deployments.
2
getPendingDeployments
List the deployment environments for the run that are waiting on protection rules. Branch to the end when nothing is pending.
3
approveDeployment
Approve the waiting environment for the run with the supplied reviewer comment. Returns 200 with the created deployments.
4
pollRun
Poll the run until it reaches the terminal completed status, looping back to itself while it is still in progress.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.