Skip to content

Commit 0d536eb

Browse files
committed
notify irc on new commits
1 parent 4c1dc48 commit 0d536eb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/notify-irc.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Notify IRC
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
notify:
8+
name: Send request
9+
runs-on: ubuntu-latest
10+
steps:
11+
- run: |
12+
curl "${{ secrets.IRC_NOTIFY_URL }}" -F target=#gonic -F 'message=push to master @${{ github.event.head_commit.author.username }} "${{ github.event.head_commit.message }}"' >/dev/null 2>&1
13+
exit 0

0 commit comments

Comments
 (0)