1 parent d6ea758 commit 03f19a8Copy full SHA for 03f19a8
1 file changed
.github/workflows/telegram-notifications.yml
@@ -0,0 +1,24 @@
1
+name: Telegram Notification
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ telegram-notification:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Send Telegram Notification
13
+ uses: appleboy/telegram-action@master
14
+ with:
15
+ to: ${{ secrets.TELEGRAM_TO }}
16
+ token: ${{ secrets.TELEGRAM_TOKEN }}
17
+ message: |
18
+ *Novo commit no repositório:* `${{ github.repository }}`
19
20
+ Autor: ${{ github.actor }}
21
22
+ Mensagem: ${{ github.event.head_commit.message }}
23
24
+ [Ver commit](${{ github.event.head_commit.url }})
0 commit comments