From 96788dd78848ddc88e5f9eaa93d6ef4e8da39315 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Tue, 18 Jun 2024 19:21:19 -0400 Subject: [PATCH] GitHub actions: Telegram bot --- .github/workflows/telegram.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/telegram.yml diff --git a/.github/workflows/telegram.yml b/.github/workflows/telegram.yml new file mode 100644 index 000000000..1b7b37886 --- /dev/null +++ b/.github/workflows/telegram.yml @@ -0,0 +1,15 @@ +name: Notify on Telegram +on: + pull_request: + types: [opened, closed, reopened] + issues: + types: [opened, pinned, closed, reopened] +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Notify the commit on Telegram. + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.CHAT_ID }} + token: ${{ secrets.BOT_TOKEN }} \ No newline at end of file