From dc1f354449cdfc5dfc01403aa44b504591590dc8 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Tue, 5 May 2026 20:42:21 +0000 Subject: [PATCH] fix(e2e): remove 'local' keyword outside function context The 'local' bash keyword can only be used inside a function. Using it at top-level of a run: block causes 'local: can only be used in a function' error and exits the script with code 1. Co-Authored-By: Paperclip --- .github/workflows/e2e.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 334004b..688cae3 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -68,7 +68,7 @@ jobs: done echo "" echo "=== In-cluster service account check ===" - local in_cluster=false + in_cluster=false if [ -f /var/run/secrets/kubernetes.io/serviceaccount/token ]; then echo "Service account token present — in-cluster mode available" echo "KUBERNETES_SERVICE_HOST=${KUBERNETES_SERVICE_HOST:-}"