From 13d8587290eb394b500a81f3687a4ba320c2d0cc Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 18 Jul 2024 17:04:19 -0400 Subject: [PATCH 1/2] Update [ghstack-poisoned] --- .github/workflows/runtime_build_and_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/runtime_build_and_test.yml b/.github/workflows/runtime_build_and_test.yml index 19ee2c180fd64..252a26e86ecd9 100644 --- a/.github/workflows/runtime_build_and_test.yml +++ b/.github/workflows/runtime_build_and_test.yml @@ -525,6 +525,7 @@ jobs: # ----- SIZEBOT ----- download_base_build_for_sizebot: + if: ${{ github.event_name == 'pull_request' }} name: Download base build for sizebot runs-on: ubuntu-latest steps: From 35e5911a8e0e0c9214b727ba89e4a0aed13ac2b5 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 18 Jul 2024 17:23:51 -0400 Subject: [PATCH 2/2] Update [ghstack-poisoned] --- .github/workflows/runtime_build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: