Update issue-workflow.yml
This commit is contained in:
parent
cbee5cfd1b
commit
b04e8e7f60
|
@ -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 }}
|
|
||||||
|
|
Loading…
Reference in New Issue