Skip to content

Commit da758dc

Browse files
committed
Add Feature.OverlayAnalysis
1 parent 60a2a7d commit da758dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/feature-flags.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { getApiClient } from "./api-client";
77
import type { CodeQL } from "./codeql";
88
import * as defaults from "./defaults.json";
99
import { Logger } from "./logging";
10+
import { CODEQL_OVERLAY_MINIMUM_VERSION } from "./overlay-database-utils";
1011
import { RepositoryNwo } from "./repository";
1112
import { ToolsFeature } from "./tools-features";
1213
import * as util from "./util";
@@ -52,6 +53,7 @@ export enum Feature {
5253
DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled",
5354
ExportDiagnosticsEnabled = "export_diagnostics_enabled",
5455
ExtractToToolcache = "extract_to_toolcache",
56+
OverlayAnalysis = "overlay_analysis",
5557
PythonDefaultIsToNotExtractStdlib = "python_default_is_to_not_extract_stdlib",
5658
QaTelemetryEnabled = "qa_telemetry_enabled",
5759
RustAnalysis = "rust_analysis",
@@ -148,6 +150,11 @@ export const featureConfig: Record<
148150
envVar: "CODEQL_ACTION_EXTRACT_TOOLCACHE",
149151
minimumVersion: undefined,
150152
},
153+
[Feature.OverlayAnalysis]: {
154+
defaultValue: false,
155+
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS",
156+
minimumVersion: CODEQL_OVERLAY_MINIMUM_VERSION,
157+
},
151158
[Feature.PythonDefaultIsToNotExtractStdlib]: {
152159
defaultValue: false,
153160
envVar: "CODEQL_ACTION_DISABLE_PYTHON_STANDARD_LIBRARY_EXTRACTION",

0 commit comments

Comments
 (0)