From 8635551887252f68ce9eefafe4280a6e4d81c872 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Tue, 13 Feb 2024 13:54:59 +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 7ef9facaa..875f9de80 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