notify irc on new commits

This commit is contained in:
sentriz
2023-09-15 01:06:33 +01:00
parent 4c1dc483dc
commit 0d536ebe82

13
.github/workflows/notify-irc.yaml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: Notify IRC
on:
push:
branches:
- master
jobs:
notify:
name: Send request
runs-on: ubuntu-latest
steps:
- run: |
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
exit 0