1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: add automated actions flag (#5805)

Just a flag for an enterprise feature
This commit is contained in:
Gastón Fournier 2024-01-09 12:42:28 +01:00 committed by GitHub
parent 99b165741d
commit eb7882e2eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,7 @@ exports[`should create default config 1`] = `
"flagResolver": FlagResolver {
"experiments": {
"anonymiseEventLog": false,
"automatedActions": false,
"caseInsensitiveInOperators": false,
"celebrateUnleash": false,
"customRootRolesKillSwitch": false,

View File

@ -34,6 +34,7 @@ export type IFlagKey =
| 'newStrategyConfiguration'
| 'stripHeadersOnAPI'
| 'incomingWebhooks'
| 'automatedActions'
| 'celebrateUnleash'
| 'increaseUnleashWidth'
| 'featureSearchFeedback'
@ -151,6 +152,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_INCOMING_WEBHOOKS,
false,
),
automatedActions: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_AUTOMATED_ACTIONS,
false,
),
celebrateUnleash: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
false,