From 0d223afba57b03e7ed891e31be343293b94fae70 Mon Sep 17 00:00:00 2001 From: Ed Rivas Date: Fri, 16 Dec 2022 22:35:14 +0000 Subject: [PATCH] Fix automatic WPT comment --- .github/workflows/test-wpt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-wpt.yml b/.github/workflows/test-wpt.yml index 4af5b241..7e38bf48 100644 --- a/.github/workflows/test-wpt.yml +++ b/.github/workflows/test-wpt.yml @@ -106,5 +106,5 @@ jobs: GH_TOKEN: ${{ github.token }} run: > gh --repo ${{ github.repository }} - pr comment $SOURCE_BRANCH - --body "WPT report for this branch: https://$SOURCE_BRANCH-wpt-results--anchor-position-wpt.netlify.app" + pr comment ${{ github.event.pull_request.number }} + --body "WPT report for this branch: https://${{ github.head_ref }}-wpt-results--anchor-position-wpt.netlify.app"