Skip to content

Commit 467d000

Browse files
authored
Update main.yml
1 parent 7175bfa commit 467d000

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1-
- name: Github Telegram Notifier
2-
uses: EverythingSuckz/[email protected]
3-
with:
4-
bot_token: '${{ secrets.TG_BOT_TOKEN }}'
5-
chat_id: '${{ secrets.TG_CHAT_ID }}'
1+
name: Github Telegram Notifier
2+
3+
on:
4+
push:
5+
branches:
6+
- '**' # Triggers on any branch
7+
pull_request:
8+
branches:
9+
- '**' # Triggers on any branch
10+
11+
jobs:
12+
notify:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Send Telegram Notification
16+
uses: EverythingSuckz/[email protected]
17+
with:
18+
bot_token: ${{ secrets.TG_BOT_TOKEN }}
19+
chat_id: ${{ secrets.TG_CHAT_ID }}

0 commit comments

Comments
 (0)