diff --git a/tools/actions/commit-queue.sh b/tools/actions/commit-queue.sh index 852906ec3df40b..6f629fdbe156d2 100755 --- a/tools/actions/commit-queue.sh +++ b/tools/actions/commit-queue.sh @@ -23,12 +23,12 @@ commit_queue_failed() { # shellcheck disable=SC2154 cqurl="${GITHUB_SERVER_URL}/${OWNER}/${REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" - jq -n --arg content "
Commit Queue failed
$(cat output)
$cqurl
" '{body: $content}' > output.json - cat output.json + body="
Commit Queue failed
$(cat output)
$cqurl
" + echo "$body" - gh pr comment $pr --body-file output.json + gh pr comment $pr --body "$body" - rm output output.json + rm output } # TODO(mmarchini): should this be set with whoever added the label for each PR?