Skip to content

Commit d3b722e

Browse files
committed
Fix IRC notification workflow
Signed-off-by: falkTX <[email protected]>
1 parent c39e9f9 commit d3b722e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/irc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ jobs:
88
name: IRC notification
99
steps:
1010
- name: Format message
11-
id: message
1211
run: |
13-
echo "message=$(echo ${{ github.actor }} pushed $(echo ${{ github.event.commits[0].message }} | head -n 1 | tr -d "'") ${{ github.event.commits[0].url }}" >> $GITHUB_ENV
12+
echo commitmessage=$(echo "${{ github.event.commits[0].message }}" | head -n 1) >> $GITHUB_ENV
13+
- name: Format message
14+
run: |
15+
echo message="${{ github.actor }} pushed ${{ env.commitmessage }} ${{ github.event.commits[0].url }}" >> $GITHUB_ENV
1416
- name: IRC notification
1517
uses: Gottox/irc-message-action@v2
1618
with:

0 commit comments

Comments
 (0)