From 53a121e68adca9a803564e161763be4252394ec3 Mon Sep 17 00:00:00 2001 From: Nick Klockenga Date: Wed, 21 Aug 2024 20:53:13 -0400 Subject: [PATCH] create telegram.yml GitHub workflow action --- .github/workflows/telegram.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 00000000..0548c63a --- /dev/null +++ b/.github/workflows/telegram.yml @@ -0,0 +1,18 @@ +name: GitHub Notify on Telegram +on: + pull_request: + branches: + - dev + types: + - closed + +jobs: + if_merged: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - name: Notify on Telegram + uses: EverythingSuckz/github-telegram-notify@main + with: + bot_token: '${{ secrets.BOT_TOKEN }}' + chat_id: '${{ secrets.CHAT_ID }}'