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
getWorkflowRun
Fetch the run to confirm it exists and is waiting before reviewing its pending deployments.
2
getPendingDeployments
getPendingDeployments
List the deployment environments for the run that are waiting on protection rules. Branch to the end when nothing is pending.
3
approveDeployment
reviewPendingDeployments
Approve the waiting environment for the run with the supplied reviewer comment. Returns 200 with the created deployments.
4
pollRun
getWorkflowRun
Poll the run until it reaches the terminal completed status, looping back to itself while it is still in progress.