Skip to content

Telegram P/R Request Changes notification #370

Telegram P/R Request Changes notification

Telegram P/R Request Changes notification #370

name: Telegram P/R Request Changes notification
on:
pull_request_review:
types: [submitted]
jobs:
changesrequested:
if: github.event.review.state == 'changes_requested'
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs the telegram notify action to send a notification
- name: Telegram Notify
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
[mintbase.js](https://github.com/Mintbase/mintbase-js/pull/) : ♻️ [REQUESTED CHANGES] by ${{ github.actor }}
on [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})