From ffc4071565f94bdfbee8b3618dbc619564da8130 Mon Sep 17 00:00:00 2001 From: Giovanni Condello Date: Thu, 25 Aug 2022 14:07:56 +0200 Subject: Create notify-telegram-pr.yml --- .github/workflows/notify-telegram-pr.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/notify-telegram-pr.yml (limited to '.github/workflows') diff --git a/.github/workflows/notify-telegram-pr.yml b/.github/workflows/notify-telegram-pr.yml new file mode 100644 index 0000000..be80d08 --- /dev/null +++ b/.github/workflows/notify-telegram-pr.yml @@ -0,0 +1,18 @@ +name: notify-telegram-pr + +on: + pull_request: + types: [opened, reopened] +jobs: + build: + name: Notify Telegram + runs-on: ubuntu-latest + steps: + - name: send telegram message on PR opened + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created PR ${{ github.event.pull_request.title }} + See changes: ${{ github.event.pull_request.html_url }} -- cgit v1.2.3