This repository was archived by the owner on Oct 15, 2025. It is now read-only.
Update bw plugin to not crash and extend functionality #180
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Telegram Notifications | |
| on: | |
| issue_comment: | |
| types: [created] | |
| 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: "<b>${{ github.event.comment.user.login }}</b> on <a href=\"${{ github.event.comment.html_url }}\"><b>${{ github.event.repository.name }}#${{ github.event.issue.number }}</b>: <i>${{ github.event.issue.title }}</i></a>%0A${{ github.event.comment.body }}" | |