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