Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(upgrade-matrix): quote profile assignments (shellcheck SC2209)

garrytan869f78e2ac9b
diff --git a/.github/workflows/upgrade-matrix.yml b/.github/workflows/upgrade-matrix.yml
index 2f53f8a197..34aff732e9 100644
--- a/.github/workflows/upgrade-matrix.yml
+++ b/.github/workflows/upgrade-matrix.yml
@@ -128,9 +128,9 @@ jobs:
# pr profile against their head; the nightly Upgrade matrix schedule runs
# the full profile.
case "$EVENT" in
- pull_request) candidate="$PR_HEAD"; profile=pr ;;
- workflow_dispatch) candidate="$INPUT_CANDIDATE"; profile=full ;;
- *) candidate=""; profile=full ;;
+ pull_request) candidate="$PR_HEAD"; profile="pr" ;;
+ workflow_dispatch) candidate="$INPUT_CANDIDATE"; profile="full" ;;
+ *) candidate=""; profile="full" ;;
esac
args=(plan --candidate "$candidate" --profile "$profile" --out upgrade-matrix-plan.json)
if [ -n "${INPUT_FROM:-}" ]; then args+=(--from "$INPUT_FROM"); fi