@@ -7,6 +7,7 @@ import { getApiClient } from "./api-client";
7
7
import type { CodeQL } from "./codeql" ;
8
8
import * as defaults from "./defaults.json" ;
9
9
import { Logger } from "./logging" ;
10
+ import { CODEQL_OVERLAY_MINIMUM_VERSION } from "./overlay-database-utils" ;
10
11
import { RepositoryNwo } from "./repository" ;
11
12
import { ToolsFeature } from "./tools-features" ;
12
13
import * as util from "./util" ;
@@ -52,6 +53,7 @@ export enum Feature {
52
53
DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled" ,
53
54
ExportDiagnosticsEnabled = "export_diagnostics_enabled" ,
54
55
ExtractToToolcache = "extract_to_toolcache" ,
56
+ OverlayAnalysis = "overlay_analysis" ,
55
57
PythonDefaultIsToNotExtractStdlib = "python_default_is_to_not_extract_stdlib" ,
56
58
QaTelemetryEnabled = "qa_telemetry_enabled" ,
57
59
RustAnalysis = "rust_analysis" ,
@@ -148,6 +150,11 @@ export const featureConfig: Record<
148
150
envVar : "CODEQL_ACTION_EXTRACT_TOOLCACHE" ,
149
151
minimumVersion : undefined ,
150
152
} ,
153
+ [ Feature . OverlayAnalysis ] : {
154
+ defaultValue : false ,
155
+ envVar : "CODEQL_ACTION_OVERLAY_ANALYSIS" ,
156
+ minimumVersion : CODEQL_OVERLAY_MINIMUM_VERSION ,
157
+ } ,
151
158
[ Feature . PythonDefaultIsToNotExtractStdlib ] : {
152
159
defaultValue : false ,
153
160
envVar : "CODEQL_ACTION_DISABLE_PYTHON_STANDARD_LIBRARY_EXTRACTION" ,
0 commit comments