From e0ebcfb370ce3342031407562d6867b2d4252565 Mon Sep 17 00:00:00 2001 From: Nick Sheck Date: Thu, 18 May 2023 12:09:48 -0700 Subject: [PATCH] Debug log generated report --- dist/index.js | 1 + src/main.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 4e5ff48..641a041 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3139,6 +3139,7 @@ async function run () { } catch (e) { core.setFailed(`Balto error: ${e}`) } finally { + core.info(`Generated report: ${report}`) report.output.annotations.forEach(annotationToOutputCommand) setOutput("issuesCount", report.output.annotations.length) if (report.conclusion === "action_required" || report.conclusion === "failure") { diff --git a/src/main.js b/src/main.js index f91d870..312c3c5 100644 --- a/src/main.js +++ b/src/main.js @@ -188,6 +188,7 @@ async function run () { } catch (e) { core.setFailed(`Balto error: ${e}`) } finally { + core.debug(`Generated report: ${report}`) report.output.annotations.forEach(annotationToOutputCommand) setOutput("issuesCount", report.output.annotations.length) if (report.conclusion === "action_required" || report.conclusion === "failure") {