Update issue-workflow.yml

This commit is contained in:
Zane Schepke 2024-05-03 22:38:37 -04:00 committed by GitHub
parent cbee5cfd1b
commit b04e8e7f60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 8 deletions

View File

@ -11,11 +11,9 @@ jobs:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: send telegram message on push - name: Send Telegram Message
uses: appleboy/telegram-action@master run: |
with: msg_text='${{ github.actor }} updated an issue:
to: ${{ secrets.TELEGRAM_TO }} status: ${{ github.event.issue.state }} - #${{ github.event.issue.number }} ${{ github.event.issue.title }}'
token: ${{ secrets.TELEGRAM_TOKEN }} curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage' \
message: | -d "chat_id=${{ secrets.TELEGRAM_TO }}&text=${msg_text}&reply_to_message_id=${{ secrets.TELEGRAM_TOPIC }}"
${{ github.actor }} updated an issue:
${{ github.event.issue.state }}: ${{ github.event.issue.number }} ${{ github.event.issue.title }}