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.