From d7fe8d9f9fd9a425afe0261f390d5fb950419b37 Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Wed, 11 May 2022 16:17:40 -0700 Subject: [PATCH] restrict sizecheck to PRs --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 155126752160..e5ec93cea6f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,6 +110,8 @@ jobs: needs: job_build timeout-minutes: 15 runs-on: ubuntu-latest + # Size Check will error out outside of the context of a PR + if: ${{ github.event_name == 'pull_request' }} steps: - name: Check out current commit (${{ env.HEAD_COMMIT }}) uses: actions/checkout@v2