Skip to content

Create Telegram bot notifify to group when PR change #4

Create Telegram bot notifify to group when PR change

Create Telegram bot notifify to group when PR change #4

Workflow file for this run

name: Telegram message
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Send Telegram message
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: markdown
message: |
👨‍💻 *New PR Updates from ${{ github.actor }}*
⭐️ *Latest commit*: ${{ github.event.commits[0].message }}
🚀 *PR*: https://github.com/${{ github.repository }}/${{ github.event.pull_request.number }}
🛠️ *Changes*: https://github.com/${{ github.repository }}/commit/${{github.sha}}