Skip to content

Commit

Permalink
Telegram notification github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qdrvm-ci committed Apr 8, 2024
1 parent d0de7d0 commit 37a54ff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/telegram_notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Telegram Notification

on:
pull_request:
types: [created, closed, opened, reopened, synchronize]
pull_request_target:
types: [ created, closed, opened, reopened, synchronize ]
issues:
types: [created, closed, opended, reopened]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Notify the commit on Telegram
uses: EverythingSuckz/github-telegram-notify@main
with:
bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}

0 comments on commit 37a54ff

Please sign in to comment.