From 0ad4b7c1f71fbb866c00ff6aa2a560e2196a83e4 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:29:43 -0400 Subject: [PATCH] meta: use HTML entities in commit-queue comment PR-URL: https://github.com/nodejs/node/pull/53744 Reviewed-By: Luigi Pinca Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell --- tools/actions/commit-queue.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/actions/commit-queue.sh b/tools/actions/commit-queue.sh index 0df819e47ee825..7778e07fe4bd03 100755 --- a/tools/actions/commit-queue.sh +++ b/tools/actions/commit-queue.sh @@ -19,7 +19,7 @@ commit_queue_failed() { # shellcheck disable=SC2154 cqurl="${GITHUB_SERVER_URL}/${OWNER}/${REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" - body="
Commit Queue failed
$(cat output)
$cqurl
" + body="
Commit Queue failed
$(sed -e 's/&/\&/g' -e 's//\>/g' output)
$cqurl
" echo "$body" gh pr comment "$pr" --body "$body"