From b0b28d3b0d3cd7977d7d6377d318a603868d11f9 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Mon, 4 Nov 2024 14:23:01 -0500 Subject: [PATCH] chore: Update CI workflows path to be current branch workflows file (#30534) * Update workflows path * bump and try checkout * add checkout * remove params * empty commit --- .circleci/config.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5639d07f7022..0d0268833e6f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 setup: true orbs: - continuation: circleci/continuation@0.3.1 + continuation: circleci/continuation@1.0.0 jobs: verify-ci-should-run: @@ -52,17 +52,9 @@ jobs: echo "Skipping CI; branch in progress - $TRIGGER_INSTRUCTIONS" cancel_build - - - run: - name: Download .circleci/workflows.yaml - command: | - if [[ "$CIRCLE_BRANCH" == "pull/"* ]]; then - curl -o workflows.yml https://raw.githubusercontent.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/develop/.circleci/workflows.yml - else - curl -o workflows.yml https://raw.githubusercontent.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_BRANCH}/.circleci/workflows.yml - fi + - checkout - continuation/continue: - configuration_path: workflows.yml + configuration_path: .circleci/workflows.yml workflows: # the setup-workflow workflow is always triggered.