fix: escape $ in .woodpecker/edge-subpath.yml bash array expansion
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:
parent
dc80081ba1
commit
18a379616e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue