Update issue-workflow.yml
This commit is contained in:
parent
ad53fca928
commit
681b066d99
|
@ -14,6 +14,7 @@ jobs:
|
||||||
- name: Send Telegram Message
|
- name: Send Telegram Message
|
||||||
run: |
|
run: |
|
||||||
msg_text='${{ github.actor }} updated an issue:
|
msg_text='${{ github.actor }} updated an issue:
|
||||||
status: ${{ github.event.issue.state }} - #${{ github.event.issue.number }} ${{ github.event.issue.title }}'
|
status: ${{ github.event.issue.state }} - #${{ github.event.issue.number }} ${{ github.event.issue.title }}
|
||||||
|
${{ github.event.issue.url }}'
|
||||||
curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage' \
|
curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage' \
|
||||||
-d "chat_id=${{ secrets.TELEGRAM_TO }}&text=${msg_text}&message_thread_id=${{ secrets.TELEGRAM_TOPIC }}"
|
-d "chat_id=${{ secrets.TELEGRAM_TO }}&text=${msg_text}&message_thread_id=${{ secrets.TELEGRAM_TOPIC }}"
|
||||||
|
|
Loading…
Reference in New Issue