From c78702ac99073deb641bd4c6bc6ce268b07b63e9 Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Fri, 21 Oct 2022 12:48:52 +0900 Subject: [PATCH] Correct example in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7d4eb22..95db6f5 100644 --- a/README.md +++ b/README.md @@ -165,10 +165,10 @@ The content must be [escaped to preserve newlines](https://github.community/t/se - id: get-comment-body run: | body="$(cat comment-body.txt)" - body="${body//'%'/'%25'}" - body="${body//$'\n'/'%0A'}" - body="${body//$'\r'/'%0D'}" - echo "body=$body" >> $GITHUB_OUTPUT + delimiter="$(openssl rand -hex 8)" + echo "body<<$delimiter" >> $GITHUB_OUTPUT + echo "$body" >> $GITHUB_OUTPUT + echo "$delimiter" >> $GITHUB_OUTPUT - name: Create comment uses: peter-evans/create-or-update-comment@v2