Browse Source

Notify IRC of pushes to this repo

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 1 month ago
parent
commit
681af9cff3
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .github/workflows/irc.yml

+ 20
- 0
.github/workflows/irc.yml View File

@@ -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: '#kxstudio'
nickname: kxstudio-bot
message: ${{ steps.message.outputs.message }}

Loading…
Cancel
Save