From 081b25a0272f77ad335dbf0e79ae6b3db0b30476 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Fri, 8 Apr 2022 10:58:11 +0200 Subject: [PATCH] ci: disable publish in forks (#1376) --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16cd558d8..be2dea046 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: jobs: build_and_publish: name: "Build and publish" + if: github.repository == "microsoft/rnx-kit" runs-on: ubuntu-latest steps: - name: Set up Node 14