File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,13 +11,10 @@ jobs:
1111
1212 steps :
1313 - name : Send message to Telegram
14+ - name : Send message to Telegram
1415 run : |
1516 curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_MONITOR_TOKEN }}/sendMessage" \
1617 -d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
1718 -d parse_mode="HTML" \
18- -d text="<b>User:</b> ${{ github.actor }} committed the repository <code>${{ github.repository }}</code>
19- <b>Time:</b> $(date +'%Y-%m-%d %H:%M:%S')
20-
21- <b>Commit header:</b> ${{ github.event.head_commit.message }}
22-
23- <a href='${{ github.event.head_commit.url }}'>View Commit Details</a>"
19+ -d disable_web_page_preview="true" \
20+ -d text="👤 <a href='https://github.com/${{ github.actor }}'>${{ github.actor }}</a> pushed to 📁 <a href='https://github.com/${{ github.repository }}'>${{ github.repository_owner }}</a>: 📝 <i>'${{ github.event.head_commit.message }}'</i> (<a href='${{ github.event.head_commit.url }}'>view commit</a>)"
You can’t perform that action at this time.
0 commit comments