Skip to content

Commit

Permalink
newline
Browse files Browse the repository at this point in the history
  • Loading branch information
kodster28 committed Dec 12, 2023
1 parent 9ecf2d9 commit 62fea63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/automated-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ 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_unformatted="TEST\\n\\n<!-- MODIFIED_CONTENT_LINKING_COMMENT -->"
comment_body_unformatted="TEST
<!-- MODIFIED_CONTENT_LINKING_COMMENT -->"
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
Expand Down

0 comments on commit 62fea63

Please sign in to comment.