Last active
March 12, 2024 07:46
-
-
Save alighafoori/4352f4d1cc8c302632b48420c8962603 to your computer and use it in GitHub Desktop.
Telegram notification with workflow status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: send telegram message on push | |
if: success() || failure() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
status:${{ job.status }} | |
${{ github.actor }} created commit: | |
Commit message: ${{ github.event.commits[0].message }} | |
Repository: ${{ github.repository }} | |
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment