Only display cleanup-info log when relevant

This commit is contained in:
Henry Mercer
2025-08-15 17:25:17 +01:00
parent eef4c44f6b
commit 537405376b
3 changed files with 3 additions and 3 deletions

View File

@@ -249,7 +249,7 @@ async function run() {
delete process.env.CODEQL_PROXY_CA_CERTIFICATE;
}
if (actionsUtil.getOptionalInput("cleanup-level") !== "") {
if (actionsUtil.getOptionalInput("cleanup-level")) {
logger.info(
"The 'cleanup-level' input is ignored since the CodeQL Action now automatically " +
"manages database cleanup. This input can safely be removed from your workflow.",