Skip to content

Commit f7fa18f

Browse files
committed
Add FF for config file repo property
1 parent 628fc3f commit f7fa18f

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
@@ -74,6 +74,8 @@ export enum Feature {
7474
AllowMultipleAnalysisKinds = "allow_multiple_analysis_kinds",
7575
AllowToolcacheInput = "allow_toolcache_input",
7676
CleanupTrapCaches = "cleanup_trap_caches",
77+
/** Whether to allow the `config-file` input to be specified via a repository property. */
78+
ConfigFileRepositoryProperty = "config_file_repository_property",
7779
CppDependencyInstallation = "cpp_dependency_installation_enabled",
7880
CsharpCacheBuildModeNone = "csharp_cache_bmn",
7981
CsharpNewCacheKey = "csharp_new_cache_key",
@@ -184,6 +186,11 @@ export const featureConfig = {
184186
envVar: "CODEQL_ACTION_CLEANUP_TRAP_CACHES",
185187
minimumVersion: undefined,
186188
},
189+
[Feature.ConfigFileRepositoryProperty]: {
190+
defaultValue: false,
191+
envVar: "CODEQL_ACTION_CONFIG_FILE_REPOSITORY_PROPERTY",
192+
minimumVersion: undefined,
193+
},
187194
[Feature.CppDependencyInstallation]: {
188195
defaultValue: false,
189196
envVar: "CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES",

0 commit comments

Comments
 (0)