ci: fix ShellCheck dialect and make tool installs fault-tolerant
CI / Bash Syntax Check (push) Successful in 26s
CI / Markdown Lint (push) Successful in 26s
CI / ShellCheck (push) Successful in 1m38s

This commit is contained in:
2026-11-09 10:36:49 +08:00
parent 75f4ec53ab
commit 8d53521262
6 changed files with 37 additions and 7 deletions
+1
View File
@@ -6,6 +6,7 @@ load_config() {
while IFS='=' read -r key value || [ -n "$key" ]; do
key="${key// /}"
[ -z "$key" ] && continue
# shellcheck disable=SC2034 # globals used by lib modules
case "$key" in
WEBHOOK) DISCORD_WEBHOOK="$value" ;;
LOG_LEVEL) [ "$value" = "verbose" ] && VERBOSE=true ;;