diff --git a/.github/workflows/runtime_build_and_test.yml b/.github/workflows/runtime_build_and_test.yml index 252a26e86ecd9..eb2589532b433 100644 --- a/.github/workflows/runtime_build_and_test.yml +++ b/.github/workflows/runtime_build_and_test.yml @@ -525,7 +525,7 @@ jobs: # ----- SIZEBOT ----- download_base_build_for_sizebot: - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && github.ref_name != 'main' }} name: Download base build for sizebot runs-on: ubuntu-latest steps: