This commit is contained in:
2025-11-24 10:09:02 -05:00
parent 178cd8ccaa
commit 51ee84e692
+3 -1
View File
@@ -75,10 +75,12 @@ runs:
Please reply with a keyword on this issue.
"
ASSIGNEES_JSON=$(jq -nc --arg csv "$APPROVERS" '$csv | split(",")')
json=$(jq -n \
--arg title "$title" \
--arg body "$body" \
--argjson assignees "$(printf '"%s"' ${APPROVERS//,/\" \"})" \
--argjson assignees "$ASSIGNEES_JSON" \
'{title:$title, body:$body, assignees:$assignees}')
resp=$(curl -s -X POST \