Răsfoiți Sursa

IRC notify: add manual trigger for testing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seb 2 săptămâni în urmă
părinte
comite
0d37dd2f15
1 a modificat fișierele cu 14 adăugiri și 0 ștergeri
  1. 14 0
      .github/workflows/irc-notify.yml

+ 14 - 0
.github/workflows/irc-notify.yml

@@ -7,6 +7,7 @@ on:
   create:
   release:
     types: [published]
+  workflow_dispatch:
 
 jobs:
   notify:
@@ -79,3 +80,16 @@ jobs:
           notice: true
           message: |
             [${{ github.event.repository.name }}] New release ${{ github.event.release.tag_name }}: ${{ github.event.release.html_url }}
+
+      - name: irc manual test
+        uses: rectalogic/notify-irc@v1
+        if: github.event_name == 'workflow_dispatch'
+        with:
+          server: irc.undernet.org
+          port: 6667
+          tls: false
+          channel: "#pisg"
+          nickname: pisg-github
+          notice: true
+          message: |
+            [${{ github.event.repository.name }}] test notification triggered by ${{ github.actor }}