Browse Source

Fix IRC notification workflow

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.11
falkTX 3 years ago
parent
commit
d3b722ebba
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      .github/workflows/irc.yml

+ 4
- 2
.github/workflows/irc.yml View File

@@ -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:


Loading…
Cancel
Save