From bb1d3c55a75b2e702a37dc75d77efb07086ff85f Mon Sep 17 00:00:00 2001 From: Patrik Date: Thu, 20 Jul 2023 17:37:05 +0200 Subject: [PATCH] CI: Do not publish napi wrapper when running in fork PR (#903) Signed-off-by: Patrik Stas --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6aa4e7e32b..40040e475e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -909,7 +909,7 @@ jobs: needs: - workflow-setup - build-napi - if: ${{ needs.workflow-setup.outputs.SKIP_CI != 'true' }} + if: ${{ needs.workflow-setup.outputs.SKIP_CI != 'true' && needs.workflow-setup.outputs.IS_FORK == 'false' }} steps: - uses: actions/checkout@v3 - uses: ./.github/actions/publish-napi