Skip to content

Commit

Permalink
infra: replace windows line endings in event text
Browse files Browse the repository at this point in the history
  • Loading branch information
nrmancuso committed Apr 19, 2023
1 parent 5ac0453 commit a06a7d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/diff-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ jobs:
ISSUE_BODY: ${{ github.event.issue.body }}
PULL_REQUEST_URL: ${{ github.event.issue.pull_request.url }}
run: |
echo "$ISSUE_BODY" > text
# convert windows line endings to unix in event text
echo "$ISSUE_BODY" > windows.txt
tr -d '\15\32' < windows.txt > text
echo "$USER_LOGIN" > user
wget -q "$PULL_REQUEST_URL" -O info.json
jq --raw-output .head.ref info.json > branch
Expand Down

0 comments on commit a06a7d3

Please sign in to comment.