Skip to content

Commit f24da1c

Browse files
committed
Only run get_base_build on main branch
1 parent 465faeb commit f24da1c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ jobs:
185185
name: Download artifacts for base revision
186186
command: |
187187
git fetch origin master
188-
echo "$(git merge-base HEAD origin/master)"
189188
cd ./scripts/release && yarn && cd ../../
190189
scripts/release/download-experimental-build.js --commit=$(git merge-base HEAD origin/master)
191190
mv ./build2 ./base-build
@@ -485,9 +484,17 @@ workflows:
485484

486485
# TODO: Test more persistent configurations?
487486
- get_base_build:
487+
filters:
488+
branches:
489+
ignore:
490+
- master
488491
requires:
489492
- setup
490493
- sizebot:
494+
filters:
495+
branches:
496+
ignore:
497+
- master
491498
requires:
492499
- get_base_build
493500
- yarn_build_combined

0 commit comments

Comments
 (0)