fix: escape $ in .woodpecker/edge-subpath.yml bash array expansion
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/pr/edge-subpath Pipeline failed
ci/woodpecker/pr/smoke-init Pipeline was successful

Woodpecker YAML preprocessor reads ${...} as its own variable
substitution and fails on bash array expansion "${ARR[@]}" with
"missing closing brace". Escape as $${...} so Woodpecker emits
a literal $ to the shell.

Fixes CI pipeline error=generic "missing closing brace" on
pipelines #1408 and #1409.
This commit is contained in:
disinto-admin 2026-04-19 16:35:55 +00:00
parent 91a0947d7b
commit 097e7e5120

View file

@ -158,7 +158,7 @@ steps:
)
FAILED=0
for handler in "${REQUIRED_HANDLERS[@]}"; do
for handler in "$${REQUIRED_HANDLERS[@]}"; do
if grep -q "$handler" "$CADDYFILE"; then
echo "[PASS] Found handler: $handler"
else