Skip to content

Commit

Permalink
Merge branch 'main' into jdv/full-site-editing
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Jul 3, 2024
2 parents fd0288f + eab9ee6 commit ab4ccea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
WPT_SERVER: "webpagetest.httparchive.org"
WPT_API_KEY: ${{ secrets.HA_API_KEY }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_BODY: ${{ github.event.pull_request.body }}
run: |
PR_BODY="${{ github.event.pull_request.body }}"
# Read PR body into an array, removing line breaks and carriage returns
IFS=$'\n' read -d '' -r -a lines <<< "${PR_BODY//$'\r\n'/ }"
lines=()
while IFS= read -r line; do
lines+=("${line//[$'\r\n']}")
done <<< "$PR_BODY"
# Find the index of the line after "**Test websites**:"
start_index=-1
Expand Down

0 comments on commit ab4ccea

Please sign in to comment.