We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19ee4a1 commit fa5f46dCopy full SHA for fa5f46d
1 file changed
.github/workflows/telegram-noti.yml
@@ -13,10 +13,10 @@ jobs:
13
- name: Send Telegram message
14
run: |
15
MESSAGE="New push by ${{ github.actor }} to ${{ github.repository }}
16
-Branch: ${{ github.ref_name }}
17
-Commit message: ${{ github.event.head_commit.message }}
18
-Commit URL: ${{ github.event.head_commit.url }}"
+ Branch: ${{ github.ref_name }}
+ Commit message: ${{ github.event.head_commit.message }}
+ Commit URL: ${{ github.event.head_commit.url }}"
19
20
- curl -s -X POST https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage \
21
- -d chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \
+ curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
+ -d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
22
-d text="$MESSAGE"
0 commit comments