From 8eb4687471b518fc674f13c34ad4e398da115bda Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Tue, 13 Feb 2024 08:45:51 +0100 Subject: [PATCH] do not run upstream-sync.yml GHA for fork repositories --- .github/workflows/upstream-sync.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index 96bba4349b5..98e18397a9e 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -13,6 +13,7 @@ on: jobs: sync-main-apache: + if: github.repository_owner == 'kiegroup' name: Sync main-apache branch runs-on: ubuntu-latest