Skip to content

Commit 1f57eb0

Browse files
committed
Add FF for tools repository property
1 parent 009715d commit 1f57eb0

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
@@ -141,6 +141,8 @@ export enum Feature {
141141
/** Note that this currently only disables baseline file coverage information. */
142142
SkipFileCoverageOnPrs = "skip_file_coverage_on_prs",
143143
StartProxyUseFeaturesRelease = "start_proxy_use_features_release",
144+
/** Whether to allow the `tools` input to be specified via a repository property. */
145+
ToolsRepositoryProperty = "tools_repository_property",
144146
UploadOverlayDbToApi = "upload_overlay_db_to_api",
145147
ValidateDbConfig = "validate_db_config",
146148
}
@@ -400,6 +402,11 @@ export const featureConfig = {
400402
envVar: "CODEQL_ACTION_START_PROXY_USE_FEATURES_RELEASE",
401403
minimumVersion: undefined,
402404
},
405+
[Feature.ToolsRepositoryProperty]: {
406+
defaultValue: false,
407+
envVar: "CODEQL_ACTION_TOOLS_REPOSITORY_PROPERTY",
408+
minimumVersion: undefined,
409+
},
403410
[Feature.UploadOverlayDbToApi]: {
404411
defaultValue: false,
405412
envVar: "CODEQL_ACTION_UPLOAD_OVERLAY_DB_TO_API",

0 commit comments

Comments
 (0)