Suitaar news Updates Maintenance Posts suitaar.com

posts 26 October 2026

An alert in Slack or Discord when CI fails on main

When CI breaks on main, you want to know, once. Not a new message for every failed run, and not silence because nobody looks at the Actions tab.

Diagram: CI fails and opens an alert with alias ci-main; a second failure is a repeat; the next passing run closes the alert with action close.

Suitaar (our product) has a GitHub Action, Suitaar/alert-action, on the GitHub Marketplace. It creates, closes and acknowledges alerts, adds notes and pings heartbeats from a workflow.

Open an alert when the build fails

Keep the key of a Suitaar source in a repository secret, then add a step:

- if: failure()
  uses: Suitaar/alert-action@9d9de90bc2e026c016563f0907d8d06e6f64681d  # v0.1.2
  with:
    api-key: $
    alias: ci-main
    message: "CI failed on main"

The alias does the grouping: a second failure while the alert is open is a repeat, not a new alert. The channel shows one alert with a count.

Close it when a later run passes

Add a step with action: close and the same alias, on success. The alert closes, and the channel shows it as resolved.

A few details

Also for scheduled jobs

A scheduled workflow can ping a Suitaar heartbeat at the end. When the schedule stops running, the pings stop, and Suitaar opens an alert.

Setup steps: guide, GitHub Actions.

The free plan stays free after the beta: 3 channels, no payment details.

Follow by feed: posts feed · all posts