Route GitHub Actions failures to Slack for human approval
Developers receive immediate Slack notifications for failed GitHub Actions jobs, enabling them to review the failure context and approve recovery steps before the system proceeds, ensuring reliable automation and clear audit trails.
How it works
The agent monitors GitHub Actions workflows for failures. Upon detecting a failure, it formats a notification containing the run details and links. It sends this notification to a designated Slack channel. The agent then waits for a human reviewer to respond in Slack with an approval or rejection. If approved, the agent triggers the recovery or retry mechanism; if rejected, it logs the decision and stops further automated action to prevent duplicate work or errors.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Monitor the GitHub Actions workflow 'deploy-prod' for failures. When a job fails, send a Slack notification to #dev-ops-alerts with the run ID and link. Wait for a human to reply 'approve' or 'reject'. If approved, trigger the retry workflow. If rejected, log the rejection reason.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Send a Slack notification when a GitHub Actions job fails, link to the run, and separate failure reporting from human approval and recovery.Developer Automation & Monitoring Guides | ActionBox