r/alerthub • • 6d ago

I built an open-source GitHub Action (alerthubio/notify-action@v1) to route CI/CD alerts to Mobile Push, Slack, Telegram, WhatsApp & Email

Hey everyone,

One thing that always bugged me about GitHub Actions is how easy it is to miss a broken scheduled workflow or a failed deploy on main. Default GitHub email notifications get buried in filters, and wiring up separate Slack webhooks, Telegram bots, or push notification scripts in every repo gets repetitive fast.

I just published v1 of our official composite GitHub Action for AlertHub so you can route workflow outcomes to all your channels with a single step:

How it works:

        - name: Notify AlertHub
          if: always()
          uses: alerthubio/notify-action@v1
          with:
            user_id: ${{ secrets.ALERTHUB_USER_ID }}
            api_key: ${{ secrets.ALERTHUB_API_KEY }}

A few design choices behind it:

  • Composite action (no Docker pull delay): Runs directly with bash, curl, and python3 on GitHub-hosted runners so it executes in milliseconds instead of adding 15–30s of container pull overhead to your jobs.
  • Zero-config defaults: If you omit title, body, status, and priority, it automatically inspects job.status (failure -> error + high priority, success ->success, cancelled -> warning) and formats the repo, branch, short commit SHA, actor, and direct link to the run logs.
  • Multi-channel fan-out: One API call dispatches to whatever channels you have configured in your AlertHub profile (Android push notifications, Slack, Telegram, WhatsApp, Email, or custom webhooks).
  • Supply-chain safety: Signed releases (v1.0.1 / v1) with protected release tags and support for pinning directly to commit SHAs.

AlertHub has a free tier (no credit card needed) if you want to test it on a side project or scheduled cron workflow.

If you use GitHub Actions for CI/CD or scheduled jobs, what kind of alert rules or extra inputs would make this more useful for your setup?

1 Upvotes

0 comments sorted by