@@ -601,23 +601,21 @@ jobs:
601601 - run :
602602 name : Check for External Config Update
603603 command : |
604- git checkout main
605- git pull origin main
606604 cp .env.sample .env
607605 touch ./experimenter/fetch-summary.txt
608606 env GITHUB_BEARER_TOKEN="${GH_EXTERNAL_CONFIG_TOKEN}" make fetch_external_resources FETCH_ARGS="--summary fetch-summary.txt"
609607 mv ./experimenter/fetch-summary.txt /tmp/pr-body.txt
610608 echo -e "\nCircle CI Task: ${CIRCLE_BUILD_URL}" >> /tmp/pr-body.txt
611609 if python3 ./experimenter/bin/should-pr.py
612610 then
613- git checkout -B external-config
611+ git checkout -B mibrahim- external-config-test
614612 git add .
615613 git commit -m 'chore(nimbus): Update External Configs'
616- if (($((git diff external-config origin/external-config || git diff HEAD~1) | wc -c) > 0))
614+ if (($((git diff mibrahim- external-config-test origin/mibrahim- external-config-test || git diff HEAD~1) | wc -c) > 0))
617615 then
618- git push origin external-config -f
619- gh pr create -t "chore(nimbus): Update External Configs " -F /tmp/pr-body.txt --base main --head external-config --repo mozilla/experimenter || \
620- gh pr edit external-config -F /tmp/pr-body.txt
616+ git push origin mibrahim- external-config-test -f
617+ gh pr create -t "[DO NOT MERGE] fetch targeting contexts test (ignore) " -F /tmp/pr-body.txt --base main --head mibrahim- external-config-test --repo mozilla/experimenter || \
618+ gh pr edit mibrahim- external-config-test -F /tmp/pr-body.txt
621619 else
622620 echo "Changes already committed, skipping"
623621 fi
@@ -886,3 +884,9 @@ workflows:
886884 filters :
887885 branches :
888886 only : main
887+ - update_external_configs :
888+ name : Update External Configs
889+ filters :
890+ branches :
891+ ignore :
892+ - main
0 commit comments