From a9b7e5998608748d12518aaa9e3f68f9aeec4494 Mon Sep 17 00:00:00 2001 From: Oscar Vestlie Date: Fri, 21 Jul 2023 14:54:18 -0700 Subject: [PATCH] Add debug logging b/290997541 --- .github/workflows/unit_test_report.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/unit_test_report.yaml b/.github/workflows/unit_test_report.yaml index fd536321c7b5a..8c29ca4574e4b 100644 --- a/.github/workflows/unit_test_report.yaml +++ b/.github/workflows/unit_test_report.yaml @@ -21,6 +21,13 @@ jobs: uses: actions/github-script@v6 with: script: | + // TODO: Debug loggin' + console.log('context.payload.workflow_run', context.payload.workflow_run); + console.log('context.payload.workflow_run.pull_requests', context.payload.workflow_run.pull_requests); + console.log('context.payload.workflow_run.referenced_workflows', context.payload.workflow_run.referenced_workflows); + + console.log(`Downloading artifacts from ${context.payload.workflow_run.html_url}.`); + // The `download-artifact` action can only access artifacts that // were uploaded in the same workflow. Since it was not this // workflow that uploaded the artifacts we must use rest api