GitHub bot: fix linting issues (nobuild)

This commit is contained in:
github-actions
2025-07-05 08:25:41 +00:00
parent 82295fdb81
commit b477a329ce

View File

@@ -20,7 +20,8 @@ if [[ ! -d /config ]] || ! bashio::supervisor.ping &>/dev/null; then
exit 0 exit 0
fi fi
slug="${HOSTNAME/-/_}" ; slug="${slug#*_}" slug="${HOSTNAME/-/_}"
slug="${slug#*_}"
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Resolve CONFIGSOURCE # # Resolve CONFIGSOURCE #
@@ -132,7 +133,8 @@ PY
# MAIN LOOP # # MAIN LOOP #
############################################ ############################################
while IFS= read -r PAIR; do while IFS= read -r PAIR; do
KEY="${PAIR%%=*}" ; VALUE="${PAIR#*=}" KEY="${PAIR%%=*}"
VALUE="${PAIR#*=}"
# !secret support # !secret support
if [[ "$VALUE" =~ ^!secret[[:space:]]+(.+) ]]; then if [[ "$VALUE" =~ ^!secret[[:space:]]+(.+) ]]; then