summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2022-01-04 19:58:38 +0000
committerfalkTX <falktx@falktx.com>2022-01-04 19:58:38 +0000
commitb488b3cc1c41ab72233a6fc21c2ab63684e60b14 (patch)
treea92dac7d6778d265c93ac6fd57de3a12f76b8918
parent5f4616390c7389f899db88a606dcc245d6eefe02 (diff)
downloadjack2-b488b3cc1c41ab72233a6fc21c2ab63684e60b14.tar.gz
Add IRC notifications
Signed-off-by: falkTX <falktx@falktx.com>
-rw-r--r--.github/workflows/irc.yml20
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 }}