No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-18 08:18:49 +02:00
action.yml fix: export URL environment variable 2026-09-18 08:18:26 +02:00
README.md docs: update usage instructions with internal runner URL 2026-09-18 08:18:49 +02:00

action-telegram-notify

Shared Forgejo Composite Action to send CI build notifications (success/failure) to Telegram via n8n.

Usage

Add this step to the end of any job in your workflow (e.g. .gitea/workflows/deploy.yml or .forgejo/workflows/ci.yml):

      - name: Telegram Notification
        if: always()
        uses: http://forgejo:3000/common/action-telegram-notify@v1
        with:
          status: ${{ job.status }}

(Hinweis: Auf dem Forgejo-Runner nutzt die interne Docker-Bridge http://forgejo:3000/)

Inputs

Input Description Required Default
status Job status (${{ job.status }}) Yes -
webhook_url n8n Webhook endpoint URL No https://n8n.irte.ch/webhook/forgejo-build-notification

How it works

  1. Runs automatically on success, failure, or cancelled via if: always().
  2. Gathers commit metadata, branch, actor, run number, and repository info.
  3. Sends a clean JSON payload to the central n8n webhook which delivers the message to Telegram.