diff --git a/init/action.yml b/init/action.yml index 317e67f61..1e254d8c3 100644 --- a/init/action.yml +++ b/init/action.yml @@ -89,7 +89,7 @@ inputs: description: A token for fetching external config files and queries if they reside in a private repository in the same GitHub instance that is running this action. required: false setup-python-dependencies: - description: DEPRECATED. CodeQL Action no longer install Python dependencies (from 3.25.0+/2.25.0+) + description: DEPRECATED. This option is ignored since CodeQL Action no longer installs Python dependencies as of versions 3.25.0 and 2.25.0. required: false source-root: description: Path of the root source code directory, relative to $GITHUB_WORKSPACE. diff --git a/src/analyze.ts b/src/analyze.ts index 75ee82400..763c949d3 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -124,7 +124,7 @@ async function setupPythonExtractor(logger: Logger) { } logger.warning( - "CODEQL_PYTHON environment variable is no longer supported. Please remove it from your workflow. This environment variable was originally used to specify a Python executable that included the dependencies of your Python code, however Python analysis no longer uses these dependencies." + + "The CODEQL_PYTHON environment variable is no longer supported. Please remove it from your workflow. This environment variable was originally used to specify a Python executable that included the dependencies of your Python code, however Python analysis no longer uses these dependencies." + "\nIf you used CODEQL_PYTHON to force the version of Python to analyze as, please use CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION instead, such as 'CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=2.7' or 'CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=3.11'.", ); return;