[ci] Only run sizebot on pull requests
Oops, forgot to port this bit over. ghstack-source-id: 7fae8021d80a2ea58e89759147553e6910b49a0f Pull Request resolved: https://github.com/facebook/react/pull/30390
Lauren Tan committed
Jul 18, 2024 at 17:35 UTC
3f4391d5896b419b93f58103d153b67906460c2a
1 file changed
+1
.github/workflows/runtime_build_and_test.yml
+1
@@ -525,6 +525,7 @@ jobs:
525
526
# ----- SIZEBOT -----
527
download_base_build_for_sizebot:
528
+ if: ${{ github.event_name == 'pull_request' && github.ref_name != 'main' }}
529
name: Download base build for sizebot
530
runs-on: ubuntu-latest
531
steps: