List deployments waiting on protection rules
One step with GitHub Actions. We can help you get access.
Look something up
List deployments waiting on protection rules
with GitHub Actions · Continuous Integration Management
Works with AI assistants
Use GitHub Actions: its GitHub Actions Workflow Runs API lets you list deployments waiting on protection rules in a single step (GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Which environments is a workflow run waiting on before it can deploy?
- Is my run stuck waiting for a required reviewer, and who can approve it?
Say it to your AI assistant
- Show the pending deployments for run {run_id} in {owner}/{repo}.
- List the environments run {run_id} is waiting to deploy to.
For your developer
GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments in GitHub Actions Workflow Runs API. Full spec on APIs.io.