mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: отделить delimiter результата ревью от JSON (#551)
Issue: #551 User-Visible: no
This commit is contained in:
@@ -1212,11 +1212,11 @@ jobs:
|
||||
(.verdict == "green" or .verdict == "yellow" or .verdict == "red")
|
||||
and (.high | type == "number") and (.medium | type == "number")
|
||||
and (.summary | type == "string")' "$dir/verdict.json" >/dev/null
|
||||
{
|
||||
echo 'structured_output<<EOF_RESULT'
|
||||
cat "$dir/verdict.json"
|
||||
echo 'EOF_RESULT'
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
printf 'structured_output<<EOF_RESULT\n' >> "$GITHUB_OUTPUT"
|
||||
cat "$dir/verdict.json" >> "$GITHUB_OUTPUT"
|
||||
# structured_output не обязан оканчиваться LF: delimiter команды
|
||||
# GitHub должен начинаться с отдельной строки.
|
||||
printf '\nEOF_RESULT\n' >> "$GITHUB_OUTPUT"
|
||||
|
||||
# Ревьюер пишет только в docs/reviews/. Что именно попадёт в коммит,
|
||||
# решает этот шаг, а не модель: всё остальное откатывается.
|
||||
|
||||
Reference in New Issue
Block a user