summaryrefslogtreecommitdiffstats
path: root/.github/workflows/notify-telegram-pr.yml
blob: be80d084b0d029163d72d6fdb505ca2c00631a48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 }}