Skip to content

Commit

Permalink
Testing IRC annouce via github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Dec 6, 2024
1 parent 9947ebd commit 9fb2c2e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/notify-irc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

name: "Notify IRC on Push to Development"

on:
push:
branches:
- development

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify IRC
uses: rectalogic/notify-irc@v1
with:
channel: "#OpenZFS-Windows"
server: "irc.libera.chat"
nickname: zfs-consus
message: |
[openzfs] ${{ github.actor }} pushed ${{ github.event.commits | length }} commit{{ github.event.commits | length != 1 && 's' || '' }} to development
${{ github.event.compare }}
${{ github.event.commits | map('commit', 'id') | map('commit', 'message') | join("\n") }}
tests:
needs: notify # This job will run only after the notify job completes
runs-on: ubuntu-latest
steps:
- name: Run Tests
run: echo "Running tests..."

0 comments on commit 9fb2c2e

Please sign in to comment.