Skip to content

Telegram P/R Approved notification #129

Telegram P/R Approved notification

Telegram P/R Approved notification #129

Workflow file for this run

name: Telegram P/R Approved notification
on:
pull_request_review:
types: [submitted]
jobs:
approved:
if: github.event.review.state == 'approved'
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: |
[examples](https://github.com/Mintbase/examples/pull/): ✅[APPROVED] [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) was approved by ${{ github.actor }}