We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9c05c5 commit db98b0aCopy full SHA for db98b0a
1 file changed
.github/workflows/telegram_notify.yml
@@ -11,7 +11,14 @@ jobs:
11
12
steps:
13
- name: Send message to Telegram
14
+ - name: Send message to Telegram
15
run: |
16
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_MONITOR_TOKEN }}/sendMessage" \
17
-d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
- -d text="🚀 Новый push в репозиторий ${{ github.repository }}"
18
+ -d parse_mode="HTML" \
19
+ -d text="<b>User:</b> ${{ github.actor }} committed the repository <code>${{ github.repository }}</code>
20
+ <b>Time:</b> $(date +'%Y-%m-%d %H:%M:%S')
21
+
22
+ <b>Commit header:</b> ${{ github.event.head_commit.message }}
23
24
+ <a href='${{ github.event.head_commit.url }}'>View Commit Details</a>"
0 commit comments