From 558a56a7f5744f9b8fdea7df12ea3b7712be1d79 Mon Sep 17 00:00:00 2001 From: zerg-su <65297783+zerg-su@users.noreply.github.com> Date: Tue, 9 Apr 2024 10:37:24 +0300 Subject: [PATCH] Telegram notification github workflow (#2034) Co-authored-by: Kirill Azovtsev --- .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 }}