GitHub Actions

GitHub Actions fail olunca telefona alert gönderin.

Her build’i bildirmek yerine sadece failure notification gönderin.

Short answer

Workflow içine if: failure() olan bir step ekleyin. NERVE_DSN değerini GitHub Secrets içinde tutun ve alert mesajına repo, branch ve run URL koyun.

Doğal aramalar “GitHub Actions Telegram bildirim”, “GitHub Actions WhatsApp notification” veya “CI/CD telefona alert” olabilir. Temiz model: CI sadece signal gönderir; insanlar sonra konuşur.

Workflow snippet

- uses: actions/setup-go@v5
  with:
    go-version: "1.25.x"

- name: Notify Nerve on failure
  if: failure()
  env:
    NERVE_DSN: ${{ secrets.NERVE_DSN }}
  run: |
    go install github.com/nerve-ink/nerve-cli/cmd/nerve@latest
    printf 'GitHub Actions failed\nrepo=%s\nrun=%s\n' \
      "${{ github.repository }}" \
      "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
      | "$(go env GOPATH)/bin/nerve" send --severity critical

Why not a chat bot first

Chat apps are good for human discussion. CI failures are machine signals. Send a quiet phone alert first, then discuss the incident in Slack, Telegram, WhatsApp, or GitHub after someone sees it.

Security boundary

GitHub secretSender DSN tek bir pipe içine encrypted signals gönderebilir. History okuyamaz, mesaj decrypt edemez, command çalıştıramaz.
No command powerNormal alerts için agent token gerekmez. Agent sadece güvendiğiniz makinede signed bounded actions için kullanılır.
Short payloadSend repo, branch, run URL, and a concise error. Do not send raw secrets or full logs.

FAQ

GitHub Actions alert telefona nasıl gider?

Workflow’a if: failure() ile nerve send step ekleyin ve NERVE_DSN değerini GitHub Actions secret olarak saklayın.

Sender DSN eski alertleri okuyabilir mi?

Hayır. Sender DSN sadece tek pipe içine encrypted signal gönderebilir.

Alert almak için agent çalıştırmak gerekir mi?

Hayır. Agent opsiyoneldir ve trusted machine üzerinde signed actions içindir.

Related