From be1223f63ec6519618c55fb853646cfce4c5192c Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 12 Oct 2026 17:24:21 +0100 Subject: [PATCH] Log when we didn't get a normal configuration file --- lib/entry-points.js | 3 +++ src/init-action-post.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/entry-points.js b/lib/entry-points.js index 1a99a4442..1300b53b0 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -187232,6 +187232,9 @@ async function run4(action) { const tmpDir = getTemporaryDirectory(); config = await getConfig(tmpDir, logger2); if (config === void 0) { + logger2.debug( + "Will try to load the configuration file from an aborted 'init' step, since there is no regular one." + ); config = getAbortedInitConfig(action, tmpDir); } const gitHubVersion = config?.gitHubVersion ?? await getGitHubVersion(); diff --git a/src/init-action-post.ts b/src/init-action-post.ts index 88aac4622..071137f54 100644 --- a/src/init-action-post.ts +++ b/src/init-action-post.ts @@ -76,6 +76,9 @@ async function run(action: ActionState<["Base", "Logger", "Env"]>) { // Try to load the "failed" configuration file instead which may have been written by the `init` step // with a minimal configuration for this post-action. if (config === undefined) { + logger.debug( + "Will try to load the configuration file from an aborted 'init' step, since there is no regular one.", + ); config = getAbortedInitConfig(action, tmpDir); }