Skip to content

Commit

Permalink
Correct example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Oct 21, 2022
1 parent ceb5262 commit c78702a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ The content must be [escaped to preserve newlines](https://git.luolix.topmunity/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
Expand Down

0 comments on commit c78702a

Please sign in to comment.