Skip to content

Commit c2a4a80

Browse files
authoredAug 22, 2024··
Merge pull request #596 from SeedSigner/add-telegram-bot
Create Telegram Bot GitHub workflow
2 parents cd3e0f3 + 53a121e commit c2a4a80

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

Diff for: ‎.github/workflows/telegram.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: GitHub Notify on Telegram
2+
on:
3+
pull_request:
4+
branches:
5+
- dev
6+
types:
7+
- closed
8+
9+
jobs:
10+
if_merged:
11+
if: github.event.pull_request.merged == true
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Notify on Telegram
15+
uses: EverythingSuckz/github-telegram-notify@main
16+
with:
17+
bot_token: '${{ secrets.BOT_TOKEN }}'
18+
chat_id: '${{ secrets.CHAT_ID }}'

0 commit comments

Comments
 (0)
Please sign in to comment.