From d3b722ebba89d671f370fa7fdc17f6969bdf333a Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 25 Nov 2022 17:44:19 +0000 Subject: [PATCH] Fix IRC notification workflow Signed-off-by: falkTX --- .github/workflows/irc.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml index 7f103ee7..427e3532 100644 --- a/.github/workflows/irc.yml +++ b/.github/workflows/irc.yml @@ -8,9 +8,11 @@ jobs: name: IRC notification steps: - name: Format message - id: message run: | - echo "message=$(echo ${{ github.actor }} pushed $(echo ${{ github.event.commits[0].message }} | head -n 1 | tr -d "'") ${{ github.event.commits[0].url }}" >> $GITHUB_ENV + echo commitmessage=$(echo "${{ github.event.commits[0].message }}" | head -n 1) >> $GITHUB_ENV + - name: Format message + run: | + echo message="${{ github.actor }} pushed ${{ env.commitmessage }} ${{ github.event.commits[0].url }}" >> $GITHUB_ENV - name: IRC notification uses: Gottox/irc-message-action@v2 with: