From f94fd64d53b9b5ca371bbd908a70b719beec3d90 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 20 Aug 2025 17:59:27 +0200 Subject: [PATCH] ci/github-script/prepare: fix logging of branch classification Logging objects to stdout is not possible with `core.info`, so we fallback to `console.log` instead. There's no functional difference for these anyway. --- ci/github-script/prepare.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/github-script/prepare.js b/ci/github-script/prepare.js index d47dd86308dd..fb000cb6820a 100644 --- a/ci/github-script/prepare.js +++ b/ci/github-script/prepare.js @@ -58,7 +58,7 @@ module.exports = async ({ github, context, core }) => { const baseClassification = classify(base.ref) core.setOutput('base', baseClassification) - core.info('base classification:', baseClassification) + console.log('base classification:', baseClassification) const headClassification = base.repo.full_name === head.repo.full_name @@ -66,7 +66,7 @@ module.exports = async ({ github, context, core }) => { : // PRs from forks are always considered WIP. { type: ['wip'] } core.setOutput('head', headClassification) - core.info('head classification:', headClassification) + console.log('head classification:', headClassification) const files = ( await github.paginate(github.rest.pulls.listFiles, {