From eb956629d91b257e1423d13124fcae34fceb66d5 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 | 10 ++++++++++ 1 file changed, 10 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 00000000..ad2cfd2a --- /dev/null +++ b/.github/workflows/notify-irc.yaml @@ -0,0 +1,10 @@ +name: Notify IRC +on: push +jobs: + notify: + name: Send request + runs-on: ubuntu-latest + steps: + - run: | + curl "${{ secrets.IRC_NOTIFY_URL }}" -F target=#gonic -F 'message=new commit from ${{ github.event.head_commit.author.username }} "${{ github.event.head_commit.message }}"' >/dev/null 2>&1 + exit 0