Update for reserved jq word

This commit is contained in:
Vasil Dininski 2026-03-14 22:36:20 +02:00
parent d4d2ac5d8f
commit 1b536b2ee5

View file

@ -15,11 +15,11 @@ fi
# Embed the current SHA as a hidden marker so future runs can find it
BODY=$(jq -n \
--arg label "$LABEL" \
--arg heading "$LABEL" \
--arg review "$REVIEW" \
--arg footer "$FOOTER" \
--arg sha "$CURRENT_SHA" \
'{ body: ($label + "\n\n" + $review + $footer + "\n\n---\n*Automated review powered by AI. Always verify suggestions before applying.*\n<!-- ai-review-sha:" + $sha + " -->") }')
'{ body: ($heading + "\n\n" + $review + $footer + "\n\n---\n*Automated review powered by AI. Always verify suggestions before applying.*\n<!-- ai-review-sha:" + $sha + " -->") }')
curl -sf \
-X POST \