diff --git a/.circleci/config.yml b/.circleci/config.yml index bfe138f473c5..5aced9b5b42c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,7 +63,9 @@ jobs: command: | if [ -n "$CIRCLE_PULL_REQUEST" ] then - git fetch origin refs/pull/$CIRCLE_PR_NUMBER/merge + # $CIRCLE_PR_NUMBER is not always defined: + # https://support.circleci.com/hc/en-us/articles/360047521451-Why-is-CIRCLE-PR-NUMBER-empty- + git fetch origin refs/pull/${CIRCLE_PULL_REQUEST##*/}/merge git checkout -qf FETCH_HEAD fi - restore_cache: *restore-yarn-cache @@ -175,6 +177,7 @@ workflows: - main - next-8-dev - next-8-rebased + context: babel-test262 test262-pr: jobs: - approve-test262-run: @@ -196,6 +199,7 @@ workflows: - master - next-8-dev - next-8-rebased + context: babel-test262 e2e: jobs: - publish-verdaccio