GitHub deployment pipeline
Send GitHub pushes, merged pull requests and releases to ilert, so alerts arrive with the change that most likely caused them.
Two ways to get GitHub events into ilert, and they answer different questions.
Webhook
You want coverage now, across every repository, with nothing checked in
That a commit, merge, or release happened
You care whether the rollout actually succeeded
That a deployment finished, and how it went
The webhook is the faster start and is enough for most accounts. Reach for the Action when "merged to main" and "live in production" are hours and a pipeline apart.
Create the pipeline
Follow Create a deployment pipeline and choose type GitHub. Both setups below need the URL from the pipeline's detail view.
Two settings on that form matter here:
Branch filters arrive prefilled with
mainandmaster. Pushes to any other branch are dropped. Clear the field to keep them all.Event filters — Pull request (merged), Commit (push), Release (published) — decide which of the webhook's events are recorded. Leave it empty and everything GitHub sends is kept.
Set up an organization webhook
One webhook covers every repository in the organization, which is why this is the fastest way to get useful coverage. Filter in ilert rather than in GitHub.
Choose the events
Select Let me select individual events, then tick Pull requests, Pushes, and Releases — or tick all of them and narrow it later in the pipeline's event filters, which does not require touching GitHub again.

Set up a repository webhook
For a single repository, the form is the same one level down: repository Settings → Webhooks → Add webhook, then follow the steps above from Point it at ilert.

Report from a workflow instead
A webhook fires when the code moved in GitHub. If you want the event to mean the rollout finished, send it from the workflow that does the rolling out, using the ilert deployment events action.
Store the pipeline's integration key as a repository secret — ILERT_DEPLOYMENT_PIPELINE_INTEGRATION_KEY below — rather than inlining it.
Mapped to repository events:
Or reporting the outcome of your own deploy job, which is the version worth the extra work:
if: always() is what makes the second workflow useful: without it the notification job is skipped when deploy fails, and ilert only ever hears about the deployments that went well.
Last updated
Was this helpful?
