From ed16d6d5960e3042f1b4e58bcca32ae65a5c7e72 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Fri, 24 May 2024 11:39:30 +0200 Subject: [PATCH] only run release on non-forks --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ce163b..c4e41e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: release: name: Publish package - if: github.event_name == 'push' && github.ref_name == 'main' && needs.build.outputs.version-changed == 'true' + if: github.event_name == 'push' && github.repository == 'Quantco/polarify' && github.ref_name == 'main' && needs.build.outputs.version-changed == 'true' needs: [build] runs-on: ubuntu-latest permissions: