From f4f8836539bc3b8a12a4dd15903125b105b32b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 6 Nov 2021 13:11:33 +0100 Subject: [PATCH] fixup! tools: use gh CLI for CI and commit queue jobs --- tools/actions/commit-queue.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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?