From c2b7b4c82aebc88adf12fda75e2350a0e3fb6a05 Mon Sep 17 00:00:00 2001 From: Rachel Powers <508861+Ryex@users.noreply.github.com> Date: Wed, 12 Mar 2025 20:18:17 -0700 Subject: [PATCH] ci(blocked_prs): fix multiline comment body in comment action Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> --- .github/actions/create-comment/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/create-comment/action.yml b/.github/actions/create-comment/action.yml index 52b46d3b2..5e5925504 100644 --- a/.github/actions/create-comment/action.yml +++ b/.github/actions/create-comment/action.yml @@ -36,7 +36,9 @@ runs: echo "Reading comment file from ${COMMENT_FILE}" comment_body="${comment_body}$(cat "$COMMENT_FILE")" fi - echo "COMMENT_BODY=$comment_body" >> "$GITHUB_ENV" + echo 'COMMENT_BODY<> "$GITHUB_ENV" + echo "$comment_body" >> "$GITHUB_ENV" + echo 'EOF' >> "$GITHUB_ENV" - name: Get Existing Comment Id shell: bash