From 524b9a00e8f3b89d9e8a0803bd0a3646261829ea Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 10 Oct 2025 14:04:39 +0100 Subject: [PATCH] Fix log message swap --- lib/analyze-action.js | 4 ++-- lib/init-action-post.js | 4 ++-- lib/init-action.js | 4 ++-- lib/upload-lib.js | 4 ++-- lib/upload-sarif-action.js | 4 ++-- src/setup-codeql.ts | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index c94a9e384..8b30d734f 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -92364,11 +92364,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } else { if (allowToolcacheValueFF) { logger.info( - `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` + `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { logger.warning( - `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` + `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } } diff --git a/lib/init-action-post.js b/lib/init-action-post.js index cc3b6a9d2..553b7d150 100644 --- a/lib/init-action-post.js +++ b/lib/init-action-post.js @@ -130346,11 +130346,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } else { if (allowToolcacheValueFF) { logger.info( - `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` + `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { logger.warning( - `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` + `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } } diff --git a/lib/init-action.js b/lib/init-action.js index c1009d393..e3f3ddacd 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -89142,11 +89142,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } else { if (allowToolcacheValueFF) { logger.info( - `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` + `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { logger.warning( - `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` + `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } } diff --git a/lib/upload-lib.js b/lib/upload-lib.js index f820544aa..9697d2eea 100644 --- a/lib/upload-lib.js +++ b/lib/upload-lib.js @@ -90181,11 +90181,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } else { if (allowToolcacheValueFF) { logger.info( - `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` + `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { logger.warning( - `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` + `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } } diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index efd8fe7e8..41b14acad 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -90852,11 +90852,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } else { if (allowToolcacheValueFF) { logger.info( - `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` + `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { logger.warning( - `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` + `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } } diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index 35b831f56..1a938ca89 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -386,11 +386,11 @@ export async function getCodeQLSource( } else { if (allowToolcacheValueFF) { logger.info( - `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.`, + `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.`, ); } else { logger.warning( - `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.`, + `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.`, ); } }