Skip to content

responsing issue

responsing issue #133

name: Telegram Notifications
on:
issues:
types: [opened, reopened]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send notifications to Telegram
run: >
curl -s
-X POST https://api.telegram.org/bot${{ secrets.TELEGRAM_NOTIFIER_BOT_TOKEN }}/sendMessage
-d chat_id=${{ secrets.TELEGRAM_ALBERT_CHAT_ID }}
-d text="${MESSAGE}"
-d parse_mode=HTML
-d disable_web_page_preview=true
>> /dev/null
env:
MESSAGE: "New issue:%0A<a href=\"${{ github.event.issue.html_url }}\"><b>${{ github.event.repository.name }}#${{ github.event.issue.number }}</b>: <i>${{ github.event.issue.title }}</i></a>"