We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ff448 commit 3e8a052Copy full SHA for 3e8a052
.github/workflows/benchmark.yml
@@ -27,8 +27,10 @@ jobs:
27
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}")
28
PR_TITLE=$(echo "$PR_DATA" | jq -r '.title')
29
PR_BODY=$(echo "$PR_DATA" | jq -r '.body')
30
+ # Ensure PR_BODY is single-line and sanitized for GitHub env vars
31
+ PR_BODY_ESCAPED=$(echo "$PR_BODY" | tr '\n' ' ' | tr '\r' ' ')
32
echo "PR_TITLE=$PR_TITLE" >> $GITHUB_ENV
- echo "PR_BODY=$PR_BODY" >> $GITHUB_ENV
33
+ echo "PR_BODY=$PR_BODY_ESCAPED" >> $GITHUB_ENV
34
- name: Check for '[no benchmark]'
35
id: check
36
run: |
0 commit comments