We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13af85d + 7654ee4 commit 1b2f490Copy full SHA for 1b2f490
.github/workflows/test.yml
@@ -42,11 +42,13 @@ jobs:
42
WPT_SERVER: "webpagetest.httparchive.org"
43
WPT_API_KEY: ${{ secrets.HA_API_KEY }}
44
PR_NUMBER: ${{ github.event.pull_request.number }}
45
+ PR_BODY: ${{ github.event.pull_request.body }}
46
run: |
- PR_BODY="${{ github.event.pull_request.body }}"
47
-
48
# Read PR body into an array, removing line breaks and carriage returns
49
- IFS=$'\n' read -d '' -r -a lines <<< "${PR_BODY//$'\r\n'/ }"
+ lines=()
+ while IFS= read -r line; do
50
+ lines+=("${line//[$'\r\n']}")
51
+ done <<< "$PR_BODY"
52
53
# Find the index of the line after "**Test websites**:"
54
start_index=-1
0 commit comments