From 20e578d69ef8c1040f68429a937af51a8eba0112 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 11 Dec 2023 00:38:08 +0100 Subject: [PATCH] Add back IRC notifications Signed-off-by: falkTX --- .github/workflows/irc.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/irc.yml diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml new file mode 100644 index 000000000..c2686b2ee --- /dev/null +++ b/.github/workflows/irc.yml @@ -0,0 +1,20 @@ +name: irc + +on: [push] + +jobs: + notification: + runs-on: ubuntu-latest + name: IRC notification + steps: + - name: Format message + id: message + run: | + message="${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1) ${{ github.event.commits[0].url }}" + echo ::set-output name=message::"${message}" + - name: IRC notification + uses: Gottox/irc-message-action@v2 + with: + channel: '#kxstudio' + nickname: github-event-bot + message: ${{ steps.message.outputs.message }}