Skip to content

Commit 53a121e

Browse files
authored
create telegram.yml GitHub workflow action
1 parent cd3e0f3 commit 53a121e

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)