From 37a54ffa9894b0cfeb7e9390c39dc8060bed492c Mon Sep 17 00:00:00 2001 From: Kirill Azovtsev Date: Mon, 8 Apr 2024 20:49:45 +0300 Subject: [PATCH] Telegram notification github workflow --- .github/workflows/telegram_notify.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/telegram_notify.yml diff --git a/.github/workflows/telegram_notify.yml b/.github/workflows/telegram_notify.yml new file mode 100644 index 0000000000..c7a14d3cc6 --- /dev/null +++ b/.github/workflows/telegram_notify.yml @@ -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 }}