Skip to content

Commit 86f92da

Browse files
chore: clean up config for external contibutors (#25552)
1 parent f795151 commit 86f92da

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.circleci/config.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ jobs:
3232
3333
cancel_build () {
3434
echo "Canceling the CI build..."
35-
curl --request POST \
36-
--url https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel \
37-
--header "Circle-Token: ${CIRCLE_TOKEN}"
38-
sleep 30 # Give cancellation a chance to run. This script then won't continue running.
39-
exit 1 # If cancellation didn't run for some reason, fail the build.
35+
circleci-agent step halt
4036
}
4137
4238
TRIGGER_INSTRUCTIONS="to trigger CI , include 'run ci' in the commit message or click the 'Trigger Pipeline' button in the CircleCI UI."
@@ -71,5 +67,4 @@ workflows:
7167
# the setup-workflow workflow is always triggered.
7268
setup-workflow:
7369
jobs:
74-
- verify-ci-should-run:
75-
context: workflow-setup
70+
- verify-ci-should-run

0 commit comments

Comments
 (0)