From 0d536ebe82c36396aa0915a1a702514cc8580c7c Mon Sep 17 00:00:00 2001 From: sentriz Date: Fri, 15 Sep 2023 01:06:33 +0100 Subject: [PATCH] notify irc on new commits --- .github/workflows/notify-irc.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/notify-irc.yaml diff --git a/.github/workflows/notify-irc.yaml b/.github/workflows/notify-irc.yaml new file mode 100644 index 0000000..08334e2 --- /dev/null +++ b/.github/workflows/notify-irc.yaml @@ -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