From 9fb2c2ebbe996dbd3db07410fe4c74d78032b5fa Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Fri, 6 Dec 2024 20:37:25 +0900 Subject: [PATCH] Testing IRC annouce via github actions Signed-off-by: Jorgen Lundman --- .github/workflows/notify-irc.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/notify-irc.yml diff --git a/.github/workflows/notify-irc.yml b/.github/workflows/notify-irc.yml new file mode 100644 index 000000000000..5aebfe9483e8 --- /dev/null +++ b/.github/workflows/notify-irc.yml @@ -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..." +