diff options
author | falkTX <falktx@falktx.com> | 2022-01-10 02:18:52 +0000 |
---|---|---|
committer | falkTX <falktx@falktx.com> | 2022-01-15 15:09:56 +0000 |
commit | ce575b3b81e0799a693df8e9e17949097caea995 (patch) | |
tree | 95b6e7ec342641cfc06574b6b37aa42522ad2463 | |
parent | 300692b05153c17d431a8b12a89d57ebb2663a4d (diff) | |
download | jack2-ce575b3b81e0799a693df8e9e17949097caea995.tar.gz |
Add back IRC notifications
Signed-off-by: falkTX <falktx@falktx.com>
-rw-r--r-- | .github/workflows/irc.yml | 20 |
1 files changed, 20 insertions, 0 deletions
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 }} |