diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 8b30d734f..0f0e38d97 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -92363,11 +92363,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian ); } else { if (allowToolcacheValueFF) { - logger.info( + logger.warning( `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { - logger.warning( + logger.info( `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } diff --git a/lib/init-action-post.js b/lib/init-action-post.js index 553b7d150..8b283fbe6 100644 --- a/lib/init-action-post.js +++ b/lib/init-action-post.js @@ -130345,11 +130345,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian ); } else { if (allowToolcacheValueFF) { - logger.info( + logger.warning( `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { - logger.warning( + logger.info( `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } diff --git a/lib/init-action.js b/lib/init-action.js index e3f3ddacd..d47e42a78 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -89141,11 +89141,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian ); } else { if (allowToolcacheValueFF) { - logger.info( + logger.warning( `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { - logger.warning( + logger.info( `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } diff --git a/lib/upload-lib.js b/lib/upload-lib.js index 9697d2eea..65b056603 100644 --- a/lib/upload-lib.js +++ b/lib/upload-lib.js @@ -90180,11 +90180,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian ); } else { if (allowToolcacheValueFF) { - logger.info( + logger.warning( `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { - logger.warning( + logger.info( `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index 41b14acad..7be0ff8b1 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -90851,11 +90851,11 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian ); } else { if (allowToolcacheValueFF) { - logger.info( + logger.warning( `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.` ); } else { - logger.warning( + logger.info( `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.` ); } diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index 1a938ca89..9ee0c4b82 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -385,11 +385,11 @@ export async function getCodeQLSource( ); } else { if (allowToolcacheValueFF) { - logger.info( + logger.warning( `Ignoring 'tools: ${toolsInput}' because the workflow was not triggered dynamically.`, ); } else { - logger.warning( + logger.info( `Ignoring 'tools: ${toolsInput}' because the feature is not enabled.`, ); }