Approve or reject a custom deployment protection rule
One step with GitHub Actions. We can help you get access.
Get something done
Approve or reject a custom deployment protection rule
with GitHub Actions · Continuous Integration Management
Works with AI assistants
Use GitHub Actions: its GitHub Actions Workflow Runs API lets you approve or reject a custom deployment protection rule in a single step (POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule). 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.
- How does a custom deployment protection rule app approve a waiting run?
- Can I reject a custom protection gate for an environment and leave a comment?
Say it to your AI assistant
- Set the custom protection rule for environment {environment_name} on run {run_id} in {owner}/{repo} to {state}.
- Reject the custom deployment gate for {environment_name} on run {run_id} with comment {comment}.
For your developer
POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule in GitHub Actions Workflow Runs API. Full spec on APIs.io.