From a34ca69d52aa6542b4197feb3e88344c32b83c51 Mon Sep 17 00:00:00 2001
From: Adriaan de Groot <groot@kde.org>
Date: Mon, 1 Feb 2021 23:14:06 +0100
Subject: [PATCH] CI: run CI everywhere, but notify us only when building the
 upstream version

---
 .github/workflows/ci-neon.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-neon.yml b/.github/workflows/ci-neon.yml
index 751d210cf7..422287dec0 100644
--- a/.github/workflows/ci-neon.yml
+++ b/.github/workflows/ci-neon.yml
@@ -26,7 +26,6 @@ jobs:
     container:
       image: docker://kdeneon/plasma:user
       options: --tmpfs /build:rw --user 0:0
-    if: github.repository == 'calamares/calamares'
     steps:
       - name: "prepare env"
         run: |
@@ -80,13 +79,13 @@ jobs:
         run: make install VERBOSE=1
       - name: "notify: ok"
         uses: rectalogic/notify-irc@v1
-        if: ${{ success() }}
+        if: ${{ success() && github.repository == 'calamares/calamares' }}
         with:
           channel: "#calamares"
           message: "${{ github.workflow }} OK ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
       - name: "notify: fail"
         uses: rectalogic/notify-irc@v1
-        if: ${{ failure() }}
+        if: ${{ failure() && github.repository == 'calamares/calamares' }}
         with:
           channel: "#calamares"
           message: |
-- 
GitLab