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