From 834830fad2d8181a768c605a8d5d5691d3d564cb Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 6 Jul 2025 05:44:04 +0000 Subject: [PATCH] GitHub bot: fix linting issues (nobuild) --- .templates/01-config_yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 3af0293ec..7d6f443ec 100644 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -75,8 +75,8 @@ dq_escape() { while IFS= read -r LINE; do [[ -z "$LINE" || "$LINE" != *=* ]] && continue # Escape special characters not within single quotes - LINE=$(sed -E "s/([^'])([][\$\`\"\\!&;|<>])/\1\\\\\\2/g" <<< "$LINE") - KEY="${LINE%%=*}" + LINE=$(sed -E "s/([^'])([][\$\`\"\\!&;|<>])/\1\\\\\\2/g" <<<"$LINE") + KEY="${LINE%%=*}" VALUE="${LINE#*=}" # !secret handling if [[ "$VALUE" =~ ^!secret[[:space:]]+(.+) ]]; then