From 3f0cb87e800e407d51412b2948499e5a89f21006 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Mon, 8 Apr 2024 12:01:41 +0200 Subject: [PATCH] Improve Python dep inst warning Co-authored-by: Henry Mercer --- src/init-action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-action.ts b/src/init-action.ts index 54d257801..285576885 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -459,7 +459,7 @@ async function run() { ); } else { logger.warning( - "codeql-action no longer installs Python dependencies. We recommend upgrading to at least CodeQL 2.16.0 to avoid any potential problems due to this.", + `CodeQL Action versions 3.25.0 and later, and versions 2.25.0 and later no longer install Python dependencies. We recommend upgrading to at least CodeQL Bundle 2.16.0 to avoid any potential problems due to this (you are currently using ${(await codeql.getVersion()).version}). Alternatively, we recommend downgrading the CodeQL Action to version 3.24.10 (for customers using GitHub.com or GitHub Enterprise Server v3.12 or later) or 2.24.10 (for customers using GitHub Enterprise Server v3.11 or earlier).`, ); }