Send Notifications to Telegram
Send workflow status notifications to Telegram with support different Git-servers (i.e. Gitea, Gogs)
Usage
Add following minimal step to the end of your workflow:
- name: Send notification to Telegram
uses: chapvic/telegram-notify@v1
if: always()
with:
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} # Token secret
chat: ${{ secrets.TELEGRAM_CHAT_ID }} # User ID or channel name secret
status: ${{ job.status }} # Do not modify this line !!!
You can specify optional arguments in your workflow:
- name: Send notification to Telegram
uses: chapvic/telegram-notify@v1
if: always()
with:
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} # Token secret
chat: ${{ secrets.TELEGRAM_CHAT_ID }} # User ID or channel name secret
status: ${{ job.status }} # Do not modify this line !!!
title: Some workflow title
message: Your notification text message
footer: Footer message
All additional arguments must be in the form of markdown text