Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
markuswustenberg committed Jan 10, 2025
1 parent ddb6654 commit 5e9d7f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -68,7 +68,12 @@ jobs:

- name: Read $GITHUB_STEP_SUMMARY file
id: getsummary
run: echo "summary=$(cat $GITHUB_STEP_SUMMARY)" >> $GITHUB_OUTPUT
run: |
content=$(cat $GITHUB_STEP_SUMMARY)
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "summary=$content" >> $GITHUB_OUTPUT
- name: Add evals comment to PR
uses: actions/github-script@v7
@@ -78,7 +83,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: "${{ steps.getsummary.outputs.summary }}"
body: `${{ steps.getsummary.outputs.summary }}`
})
- uses: actions/upload-artifact@v4

0 comments on commit 5e9d7f4

Please sign in to comment.