Log when we didn't get a normal configuration file

This commit is contained in:
Michael B. Gale
2026-10-12 17:24:21 +01:00
committed by GitHub
parent 97bafc16a1
commit 29662d68cd
2 changed files with 6 additions and 0 deletions

View File

@@ -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);
}