Skip to content

Commit

Permalink
Test comment with WPT link for big metrics (#147)
Browse files Browse the repository at this point in the history
* commenting

* test metric change

* formatting

* typo

* formatting

* comment restructured

* options fix

* Limit data URLs in css-variables (#145)

* link updates

---------

Co-authored-by: Barry Pollard <[email protected]>
  • Loading branch information
max-ostapenko and tunetheweb authored Oct 14, 2024
1 parent 4b6f43b commit b19bc14
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 249 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/wpt-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,6 @@ jobs:
WPT_API_KEY: ${{ secrets.HA_API_KEY }}
PR_BODY: ${{ github.event.pull_request.body }}

- name: Upload artifact if needed
id: artifact-upload-step
uses: actions/upload-artifact@v4
with:
path: artifact.md

- name: Update comment.md
run: |
if grep -q "{artifact-url}" comment.md; then
artifact_url="${{ steps.artifact-upload-step.outputs.artifact-url }}"
sed -i "s|{artifact-url}|$artifact_url|g" comment.md
echo "Placeholder {artifact-url} replaced with a value: $artifact_url."
else
echo "No placeholder {artifact-url} found in comment.md."
fi
- name: Add comment to PR
uses: mshick/add-pr-comment@v2
if: always()
Expand Down
Loading

0 comments on commit b19bc14

Please sign in to comment.