mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-02 21:01:21 +00:00
ci: временно вернуть process.yml main к dev для проверки (#551)
Exact-SHA Validate ветки должен пройти канонический preflight до активации исправленного workflow. Issue: #551 User-Visible: no
This commit is contained in:
@@ -1082,11 +1082,10 @@ jobs:
|
||||
legacy="docs/reviews/${marker}-${NUM}-r${CYCLE}.md"
|
||||
if [ ! -f "$SOURCE" ] && [ -f "$legacy" ]; then cp "$legacy" "$SOURCE"; fi
|
||||
test -s "$SOURCE" || { echo "::error::модель не оставила документ ревью"; exit 1; }
|
||||
printf '%s' "$OUT" > "$RUNNER_TEMP/verdict.json"
|
||||
jq -e '
|
||||
printf '%s' "$OUT" | jq -e '
|
||||
(.verdict == "green" or .verdict == "yellow" or .verdict == "red")
|
||||
and (.high | type == "number") and (.medium | type == "number")
|
||||
and (.summary | type == "string")' "$RUNNER_TEMP/verdict.json" >/dev/null
|
||||
and (.summary | type == "string")' > "$RUNNER_TEMP/verdict.json"
|
||||
dir="$RUNNER_TEMP/review-result"
|
||||
mkdir -p "$dir"
|
||||
cp "$RUNNER_TEMP/review-prepared/prepared.json" "$dir/prepared.json"
|
||||
|
||||
Reference in New Issue
Block a user