Skip to content

Commit fdf46cd

Browse files
committed
Add ScopedConfigurations feature
1 parent 7e8d897 commit fdf46cd

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

lib/entry-points.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/feature-flags.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ export enum Feature {
137137
QaTelemetryEnabled = "qa_telemetry_enabled",
138138
/** Routes (some) API requests through the registry proxy. */
139139
ProxyApiRequests = "proxy_api_requests",
140+
/** Allows sections specific to analysis kinds in configuration files. */
141+
ScopedConfigurations = "scoped_configurations",
140142
/** Note that this currently only disables baseline file coverage information. */
141143
SkipFileCoverageOnPrs = "skip_file_coverage_on_prs",
142144
StartProxyUseFeaturesRelease = "start_proxy_use_features_release",
@@ -385,6 +387,11 @@ export const featureConfig = {
385387
envVar: "CODEQL_ACTION_PROXY_API_REQUESTS",
386388
minimumVersion: undefined,
387389
},
390+
[Feature.ScopedConfigurations]: {
391+
defaultValue: false,
392+
envVar: "CODEQL_ACTION_SCOPED_CONFIGURATIONS",
393+
minimumVersion: undefined,
394+
},
388395
[Feature.SkipFileCoverageOnPrs]: {
389396
defaultValue: false,
390397
envVar: "CODEQL_ACTION_SKIP_FILE_COVERAGE_ON_PRS",

0 commit comments

Comments
 (0)