Skip to content

Instantly share code, notes, and snippets.

@alighafoori
Last active March 12, 2024 07:46
Show Gist options
  • Save alighafoori/4352f4d1cc8c302632b48420c8962603 to your computer and use it in GitHub Desktop.
Save alighafoori/4352f4d1cc8c302632b48420c8962603 to your computer and use it in GitHub Desktop.
Telegram notification with workflow status
- 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