Skip to content

Commit fa5f46d

Browse files
Fix formatting in Telegram notification workflow
indented the message
1 parent 19ee4a1 commit fa5f46d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/telegram-noti.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- name: Send Telegram message
1414
run: |
1515
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 }}"
16+
Branch: ${{ github.ref_name }}
17+
Commit message: ${{ github.event.head_commit.message }}
18+
Commit URL: ${{ github.event.head_commit.url }}"
1919
20-
curl -s -X POST https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage \
21-
-d chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \
20+
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
21+
-d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
2222
-d text="$MESSAGE"

0 commit comments

Comments
 (0)