Skip to content

Commit b0b28d3

Browse files
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
1 parent 4ff3b2b commit b0b28d3

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.circleci/config.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22
setup: true
33

44
orbs:
5-
continuation: circleci/continuation@0.3.1
5+
continuation: circleci/continuation@1.0.0
66

77
jobs:
88
verify-ci-should-run:
@@ -52,17 +52,9 @@ jobs:
5252
5353
echo "Skipping CI; branch in progress - $TRIGGER_INSTRUCTIONS"
5454
cancel_build
55-
56-
- run:
57-
name: Download .circleci/workflows.yaml
58-
command: |
59-
if [[ "$CIRCLE_BRANCH" == "pull/"* ]]; then
60-
curl -o workflows.yml https://raw.githubusercontent.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/develop/.circleci/workflows.yml
61-
else
62-
curl -o workflows.yml https://raw.githubusercontent.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_BRANCH}/.circleci/workflows.yml
63-
fi
55+
- checkout
6456
- continuation/continue:
65-
configuration_path: workflows.yml
57+
configuration_path: .circleci/workflows.yml
6658

6759
workflows:
6860
# the setup-workflow workflow is always triggered.

0 commit comments

Comments
 (0)