We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e9a83c commit 7f46a3eCopy full SHA for 7f46a3e
apps/remix-ide/ci/browser_test.sh
@@ -27,8 +27,9 @@ echo "$TEST_EXITCODE"
27
# Fail the test early and cancel the workflow
28
if [ "$TEST_EXITCODE" -eq 1 ]; then
29
echo "❌ Test failed. Attempting to cancel the workflow..."
30
- curl -s -X POST "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel" \
31
- -H "Circle-Token: $FAIL_FAST_TOKEN" \
32
- -H "Content-Type: application/json"
+ curl -s -X POST \
+ -H "Authorization: Basic $FAIL_FAST_TOKEN" \
+ -H "Content-Type: application/json" \
33
+ "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel"
34
exit 1
35
fi
0 commit comments