We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1182add + d227637 commit f7e17beCopy full SHA for f7e17be
1 file changed
.github/workflows/telegram-pr-opened.yml
@@ -0,0 +1,25 @@
1
+name: Telegram — PR opened
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened]
6
7
+jobs:
8
+ notify:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Send Telegram message
12
+ uses: appleboy/telegram-action@v1.0.1
13
+ with:
14
+ token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
15
+ to: ${{ secrets.TELEGRAM_CHAT_ID }}
16
+ message: |
17
+ 🚀 New Pull Request created!
18
19
+ 📦 Repository: ${{ github.repository }}
20
+ 👤 Author: ${{ github.actor }}
21
+ 📝 Title: ${{ github.event.pull_request.title }}
22
+ 🌿 Branches: ${{ github.head_ref }} → ${{ github.base_ref }}
23
24
+ 🔗 Open PR:
25
+ ${{ github.event.pull_request.html_url }}
0 commit comments