File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Telegram Commit Notification
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ telegram-commit-notification :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Send Telegram Commit 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 }})
25+ format : markdown
Original file line number Diff line number Diff line change 1+ name : Telegram Release Notification
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ telegram-release-notification :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Send Telegram Release Notification
12+ uses : appleboy/telegram-action@master
13+ with :
14+ to : ${{ secrets.TELEGRAM_TO }}
15+ token : ${{ secrets.TELEGRAM_TOKEN }}
16+ message : |
17+ 🎉 *Novo Release Publicado!*
18+
19+ 📦 *Repositório:* `${{ github.repository }}`
20+ 🏷️ *Versão:* `${{ github.event.release.tag_name }}`
21+ 🧾 *Nome:* `${{ github.event.release.name }}`
22+ 🗒️ *Descrição:*
23+ ${{ github.event.release.body }}
24+
25+ 🔗 [Ver Release](${{ github.event.release.html_url }})
26+ format : markdown
You can’t perform that action at this time.
0 commit comments