From 910c74201ce5cffd6d87fdd4cab722ac484ac06b Mon Sep 17 00:00:00 2001 From: Julien Cuvillier Date: Mon, 23 May 2022 16:02:22 +0200 Subject: [PATCH] replace core.debug() with core.info() --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 3364c06..87fd02a 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ async function run() { commitIDs = await getCommitsFromPullRequest(octokit); break; default: - core.debug("Unhandled event " + github.context.eventName); + core.warning("Unhandled event " + github.context.eventName); return; } for (const id of commitIDs) { @@ -36,9 +36,9 @@ async function run() { out[k] = values; core.setOutput(k, values); } - core.debug("Commits: ", commitIDs); - core.debug("Output: "); - core.debug(JSON.stringify(out, undefined, 2)); + core.info("Commits: ", commitIDs); + core.info("Output: "); + core.info(JSON.stringify(out, undefined, 2)); } catch (error) { core.setFailed(error.message); }