-
-
Notifications
You must be signed in to change notification settings - Fork 4
25 lines (21 loc) · 865 Bytes
/
telegram-pr-opened.yml
File metadata and controls
25 lines (21 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Telegram — PR opened
on:
pull_request:
types: [opened]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Telegram message
uses: appleboy/telegram-action@221e6b684967abe813051ee4a37dd61770a83ad3
with:
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
to: ${{ secrets.TELEGRAM_CHAT_ID }}
message: |
🚀 New Pull Request created!
📦 Repository: ${{ github.repository }}
👤 Author: ${{ github.actor }}
📝 Title: ${{ github.event.pull_request.title }}
🌿 Branches: ${{ github.head_ref }} → ${{ github.base_ref }}
🔗 Open PR:
${{ github.event.pull_request.html_url }}