commit:     2751058f2ac3f1f49611572ff2499b0e424be115
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Mar 31 15:28:03 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Mar 31 15:28:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2751058f

.github/workflows: notify on push only

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/duplicates.yml | 2 +-
 .github/workflows/emails.yml     | 2 +-
 .github/workflows/pkgcheck.yml   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index 8f6c0a47e..e79bfe6ee 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -21,7 +21,7 @@ jobs:
           ./scripts/check-duplicates.sh
 
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && 
github.event_name == 'push' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 2987863c6..285effa1b 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -45,7 +45,7 @@ jobs:
           python ./scripts/email-checker.py ${{ 
steps.changed-files.outputs.all_changed_files }}
 
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && 
github.event_name == 'push' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 9289d258c..665c96a9c 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -19,7 +19,7 @@ jobs:
           args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
 
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && 
github.event_name == 'push' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"

Reply via email to