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 <lundman@lundman.net>
  • Loading branch information
lundman committed Dec 6, 2024
1 parent 9947ebd commit bd319f6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/notify-irc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "Push Notification"
on: [push, pull_request, create]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: irc push
uses: rectalogic/notify-irc@v1
if: github.event_name == 'push'
with:
channel: "#openzfs-windows"
server: "irc.libera.chat"
nickname: "ZConsus"
message: |
${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
${{ join(github.event.commits.*.message) }}
- name: irc pull request
uses: rectalogic/notify-irc@v1
if: github.event_name == 'pull_request'
with:
channel: "#openzfs-windows"
server: "irc.libera.chat"
nickname: "ZConsus"
message: |
${{ github.actor }} opened PR ${{ github.event.pull_request.html_url }}
- name: irc tag created
uses: rectalogic/notify-irc@v1
if: github.event_name == 'create' && github.event.ref_type == 'tag'
with:
channel: "#openzfs-windows"
server: "irc.libera.chat"
nickname: ZConsus
message: |
${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}

0 comments on commit bd319f6

Please sign in to comment.