diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml index 7f103ee7..dacbeb5e 100644 --- a/.github/workflows/irc.yml +++ b/.github/workflows/irc.yml @@ -10,7 +10,7 @@ jobs: - 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 "message=$(echo ${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1) ${{ github.event.commits[0].url }}" >> $GITHUB_ENV - name: IRC notification uses: Gottox/irc-message-action@v2 with: