Skip to content

[python] not properly isolated from system #948

[python] not properly isolated from system

[python] not properly isolated from system #948

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 }}"