From f8ff6f4c3d87c6d6b44f68beed041cce119a4aab Mon Sep 17 00:00:00 2001 From: manrodrigues Date: Thu, 28 Dec 2023 18:54:08 -0300 Subject: [PATCH] adding workflow --- .github/workflows/notifier.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/notifier.yml diff --git a/.github/workflows/notifier.yml b/.github/workflows/notifier.yml new file mode 100644 index 0000000..b3d58fb --- /dev/null +++ b/.github/workflows/notifier.yml @@ -0,0 +1,21 @@ +name: Notifier + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + notifyTelegram: + runs-on: ubuntu-latest + steps: + - name: send custom message + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + The ${{ github.event_name }} event triggered final step. + echo This event is a pull request that had an assignee removed.