Merge pull request #427 from sora-xor/sc-42 #900
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 | |
on: | |
# Triggers the workflow on push events | |
push: | |
branches: [ "*" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: send telegram message on push | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
format: html | |
message: | | |
✍️ <b>Commitor</b>: @${{ github.actor }} | |
💬 <b>Commit message</b>: ${{ github.event.head_commit.message }} | |
🔁 <b>Repository</b>: https://github.com/${{ github.repository }} | |
<b>Branch</b>: ${{ github.ref }} | |
<i>Changes</i>: https://github.com/${{ github.repository }}/commit/${{github.sha}} |