Cardinal/.github/workflows/irc.yml
falkTX eb730b6c33
Fixup code style, regen Rack diffs
Signed-off-by: falkTX <falktx@falktx.com>
2022-11-25 18:00:59 +00:00

21 lines
624 B
YAML

name: irc
on: [push]
jobs:
notification:
runs-on: ubuntu-latest
name: IRC notification
steps:
- name: Format message
run: |
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:
channel: '#cardinal'
nickname: github-event-bot
message: ${{ env.message }}