GitHub Deployment Correlation
GitHub Deployment Correlation
This Flow enriches incidents with GitHub deploy context. An incident webhook (from PagerDuty, Datadog, or any other alerting tool) triggers queries for recent deployments and merged pull requests in the affected repository. These are correlated with the alert onset, and a summary of the last change events is posted to the incident Slack channel, with the most recent change before onset flagged as the most likely cause.
Reading deployments requires granting the Deployments (read-only) repository permission to your GitHub App and accepting the permission update for its installation.
GitHub Deployment Correlation
When an incident fires, this flow fetches recent GitHub deployments and merged PRs, correlates them with the incident, and posts the likely deploy context (or a "no recent deploys" notice) to Slack.
The Incident Webhook endpoint can be used with Incident.io, PagerDuty, or any other incident platform that supports webhooks.