Add the usual github stuff

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-07 12:54:39 +01:00
parent b6924eb95f
commit 26dd448e58
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 359 additions and 0 deletions

20
.github/workflows/irc.yml vendored Normal file
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 }}