Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
replace core.debug() with core.info()
Browse files Browse the repository at this point in the history
  • Loading branch information
jcuvillier committed May 23, 2022
1 parent 9f16828 commit 910c742
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
}
Expand Down

0 comments on commit 910c742

Please sign in to comment.