[smuxi: 31/37] GitHub-CI/notify-irc: use notice and shorter nick




commit ed9c7cef256fcb5f20ff4481653802530f9abb6f
Author: Mirco Bauer <meebey meebey net>
Date:   Sun Jan 3 14:44:06 2021 +0800

    GitHub-CI/notify-irc: use notice and shorter nick
    
    Use notice instead of regular message to avoid the join/part noise.
    
    `smuxi-github-notifier` as nickname got truncated to `smuxi-github-not`, thus
    use the shorter nick `github-ci` instead.

 .github/workflows/notify-irc.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/.github/workflows/notify-irc.yml b/.github/workflows/notify-irc.yml
index cc800b3b..89eb2685 100644
--- a/.github/workflows/notify-irc.yml
+++ b/.github/workflows/notify-irc.yml
@@ -5,7 +5,7 @@ on:
   - create
 
 jobs:
-  test:
+  notify:
     runs-on: ubuntu-latest
     steps:
       - name: irc push
@@ -13,7 +13,8 @@ jobs:
         if: github.event_name == 'push'
         with:
           channel: "#smuxi-devel"
-          nickname: smuxi-github-notifier
+          notice: true
+          nickname: github-ci
           message: |
             ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
             ${{ join(github.event.commits.*.message) }}
@@ -22,7 +23,8 @@ jobs:
         if: github.event_name == 'pull_request'
         with:
           channel: "#smuxi-devel"
-          nickname: smuxi-github-notifier
+          notice: true
+          nickname: github-ci
           message: |
             ${{ github.actor }} opened PR ${{ github.event.html_url }}
       - name: irc tag created
@@ -30,6 +32,7 @@ jobs:
         if: github.event_name == 'create' && github.event.ref_type == 'tag'
         with:
           channel: "#smuxi-devel"
-          nickname: smuxi-github-notifier
+          notice: true
+          nickname: github-ci
           message: |
             ${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]