From 5a010e101eefc4ea7c6d60fa6d0ef3ade6d0ba2b Mon Sep 17 00:00:00 2001 From: Oscar Vestlie Date: Tue, 1 Aug 2023 16:09:19 -0700 Subject: [PATCH] Use url from event context to create link b/290997541 --- .github/workflows/unit_test_report.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_test_report.yaml b/.github/workflows/unit_test_report.yaml index 3ed99232fa27b..ca98ce00b370b 100644 --- a/.github/workflows/unit_test_report.yaml +++ b/.github/workflows/unit_test_report.yaml @@ -31,7 +31,7 @@ jobs: console.log(`Downloading artifacts from ${url}`) context.payload.workflow_run.pull_requests.forEach(pr => { - console.log(`Pull request: https://github.com/youtube/cobalt/pull/${pr.number}`); + console.log(`Pull request: ${context.payload.repository.html_url}/pull/${pr.number}`); }); let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({