diff --git a/.github/workflows/automated-review.yml b/.github/workflows/automated-review.yml index accf719ed4b4b2a..d7115186ff6acd7 100644 --- a/.github/workflows/automated-review.yml +++ b/.github/workflows/automated-review.yml @@ -29,7 +29,8 @@ jobs: "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" | \ jq '.[] | select(.user.id == 41898282) | select(.body | contains("TEST")) | .id') - comment_body=$(jq -n --arg body "TEST\n" '{body: $body}') + comment_body_unformatted = "TEST\n\n" + comment_body=$(jq -n --arg body "$comment_body_unformatted" '{body: $body}') # If a comment exists, update it. Otherwise, post a new comment. if [ ! -z "$existing_comment_id" ]; then curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \