From 75c1276292a90a7499b0a52756bae782cd7c5fed Mon Sep 17 00:00:00 2001 From: MS <disinvite@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:03:30 -0400 Subject: [PATCH] Skip upload step for forks (#110) --- .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 1ac80152..0d02143c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,7 +103,7 @@ jobs: upload: needs: [build, compare] runs-on: ubuntu-latest - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'isledecomp/isle' }} steps: - uses: actions/checkout@v3 with: