Skip to content

Commit

Permalink
Merge pull request #5 from frontend-park-mail-ru/ad-8-tg-pr-notify-bot
Browse files Browse the repository at this point in the history
AD-8: Добавил тг бота для уведомлений о пулл реквестах
  • Loading branch information
YarikMix authored Feb 20, 2025
2 parents 13d07cf + 7977bb8 commit 5dad40a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr_notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Telegram Pull Request Notifier

on:
pull_request:
types: [opened, review_requested]

jobs:
notification:
runs-on: ubuntu-latest

steps:
# Send a telegram message on pr open or review request
- name: Pull Request Telegram
uses: F2had/pr-telegram-action@v1.0.0
with:
bot_token: '${{ secrets.TELEGRAM_TOKEN }}'
chat_id: '${{ secrets.TELEGRAM_TO }}'

0 comments on commit 5dad40a

Please sign in to comment.