fix(ci): align release acceptance with active Studio entry
creative workspace review checks / verify (pull_request) Has been cancelled

This commit is contained in:
2026-11-01 04:46:20 +08:00
parent b76642e06d
commit f7c6681c47
3 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ fi
REPO_ROOT=$(git rev-parse --show-toplevel)
RESULT_DIR="$REPO_ROOT/artifacts/studio-acceptance"
MODE=${1:-verify}
[[ "$MODE" == verify || "$MODE" == --diagnose ]] || exit 2
# Legacy template visual checks are opt-in; their API compatibility checks remain below.
[[ "$MODE" == verify || "$MODE" == --diagnose || "$MODE" == --legacy-layouts ]] || exit 2
WIKI_IMAGE=$(docker inspect --format '{{.Config.Image}}' prompt-waterfall-wiki-1)
[[ "$WIKI_IMAGE" =~ ^waterfall-wiki:[0-9a-f]{40}$ ]] || { echo 'Unexpected Wiki image'; exit 1; }
TEST_IMAGE="waterfall-wiki-tests:${WIKI_IMAGE#waterfall-wiki:}"