Update for reserved jq word
This commit is contained in:
parent
d4d2ac5d8f
commit
1b536b2ee5
1 changed files with 2 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue