Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
ci: fix connection failure detection in docs health check
Sushmithamalleshf459c2a830c0
diff --git a/.github/workflows/docs.health-check.yml b/.github/workflows/docs.health-check.ymlindex 4db3c335b..448ddacc1 100644--- a/.github/workflows/docs.health-check.yml+++ b/.github/workflows/docs.health-check.yml@@ -23,8 +23,12 @@ jobs:local url="$2"local extra_args="${3:-}"CHECKED=$((CHECKED + 1))- STATUS=$(curl -sL -o /dev/null -w "%{http_code}" --max-time 15 $extra_args "$url" || echo "000")- if [ "$STATUS" -ge 400 ] || [ "$STATUS" = "000" ]; then+ if STATUS=$(curl -sL -o /dev/null -w "%{http_code}" --max-time 15 $extra_args "$url" 2>/dev/null); then+ :+ else+ STATUS="000"+ fi+ if [ "$STATUS" -ge 400 2>/dev/null ] || [ "$STATUS" = "000" ]; thenecho "FAIL: ${label} → ${STATUS}"echo "${label} → ${STATUS}" >> "$FAIL_FILE"FAIL_COUNT=$((FAIL_COUNT + 1))