From 165b7c30333ea9f7f4bc0917a1646ae96809d2bc Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 10 Jan 2022 02:18:52 +0000 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 00000000..d248c616 --- /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: '#jack' + nickname: jackaudio-bot + message: ${{ steps.message.outputs.message }}