From 4a5cb5a346028eae10ca2fc1d27fe754c81afba9 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Sun, 17 Nov 2024 08:30:23 -0600 Subject: [PATCH] Fixes #4225 - Change branch workflow to exclude running on forks --- .github/workflows/branch.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml index ef2ab86e9..b150c0212 100644 --- a/.github/workflows/branch.yml +++ b/.github/workflows/branch.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: jobs: ghcr: + if: github.repository == 'piranhacloud/piranha' runs-on: ubuntu-latest steps: - name: Checkout sources @@ -73,6 +74,7 @@ jobs: cd dist/webprofile mvn -B -DskipTests=true -DskipITs=true -ntp -P docker deploy sonatype: + if: github.repository == 'piranhacloud/piranha' runs-on: ubuntu-latest steps: - name: Checkout sources