diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 3c01c0874c..48cc0e95d1 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -29,7 +29,6 @@ name: "Super Linter Report" "on": schedule: - cron: "0 14 * * 1-5" - # Friendly format: daily (scattered) workflow_dispatch: permissions: diff --git a/actions/setup/sh/start_mcp_gateway.sh b/actions/setup/sh/start_mcp_gateway.sh index 5534311f99..8ebd6a3b83 100755 --- a/actions/setup/sh/start_mcp_gateway.sh +++ b/actions/setup/sh/start_mcp_gateway.sh @@ -146,11 +146,16 @@ echo "Retrying up to 120 times with 1s delay (120s total timeout)" # Check health endpoint using localhost (since we're running on the host) # Per MCP Gateway Specification v1.3.0, /health must return HTTP 200 with JSON body containing specVersion and gatewayVersion # Use curl retry: 120 attempts with 1 second delay = 120s total +# Note: Disable errexit temporarily to capture curl exit code +set +e RESPONSE=$(curl -s --retry 120 --retry-delay 1 --retry-connrefused --retry-all-errors -w "\n%{http_code}" "http://${HEALTH_CHECK_HOST}:${MCP_GATEWAY_PORT}/health" 2>&1) +CURL_EXIT_CODE=$? +set -e HTTP_CODE=$(echo "$RESPONSE" | tail -n 1) HEALTH_RESPONSE=$(echo "$RESPONSE" | head -n -1) # Always log the health response for debugging +echo "Curl exit code: $CURL_EXIT_CODE" echo "Health endpoint HTTP code: $HTTP_CODE" if [ -n "$HEALTH_RESPONSE" ]; then echo "Health response body: $HEALTH_RESPONSE" diff --git a/pkg/workflow/compiler_types.go b/pkg/workflow/compiler_types.go index 256204ef24..a990808289 100644 --- a/pkg/workflow/compiler_types.go +++ b/pkg/workflow/compiler_types.go @@ -325,7 +325,7 @@ type SafeOutputsConfig struct { CreatePullRequests *CreatePullRequestsConfig `yaml:"create-pull-requests,omitempty"` CreatePullRequestReviewComments *CreatePullRequestReviewCommentsConfig `yaml:"create-pull-request-review-comments,omitempty"` CreateCodeScanningAlerts *CreateCodeScanningAlertsConfig `yaml:"create-code-scanning-alerts,omitempty"` - AutofixCodeScanningAlert *AutofixCodeScanningAlertConfig `yaml:"autofix-code-scanning-alert,omitempty"` + AutofixCodeScanningAlert *AutofixCodeScanningAlertConfig `yaml:"autofix-code-scanning-alert,omitempty"` AddLabels *AddLabelsConfig `yaml:"add-labels,omitempty"` AddReviewer *AddReviewerConfig `yaml:"add-reviewer,omitempty"` AssignMilestone *AssignMilestoneConfig `yaml:"assign-milestone,omitempty"`