From d4a53063defa7259b8d0280e72fa9c32804075e6 Mon Sep 17 00:00:00 2001 From: Vibhav Bobade Date: Thu, 20 Feb 2025 03:33:43 +0530 Subject: [PATCH] feat: enable stepactions by default --- config/config-feature-flags.yaml | 4 ++-- docs/stepactions.md | 2 +- pkg/apis/config/feature_flags.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config-feature-flags.yaml b/config/config-feature-flags.yaml index 398f37d1880..1e5fc4777fe 100644 --- a/config/config-feature-flags.yaml +++ b/config/config-feature-flags.yaml @@ -123,8 +123,8 @@ data: # Setting this flag to "true" will enable the CEL evaluation in WhenExpression enable-cel-in-whenexpression: "false" # Setting this flag to "true" will enable the use of StepActions in Steps - # This feature is in preview mode and not implemented yet. Please check #7259 for updates. - enable-step-actions: "false" + # This feature is in beta and enabled by default. + enable-step-actions: "true" # Setting this flag to "true" will enable the use of Artifacts in Steps # This feature is in preview mode and not implemented yet. Please check #7693 for updates. enable-artifacts: "false" diff --git a/docs/stepactions.md b/docs/stepactions.md index 062a2e39d94..73d7ab7482e 100644 --- a/docs/stepactions.md +++ b/docs/stepactions.md @@ -22,7 +22,7 @@ weight: 201 ## Overview > :seedling: **`StepActions` is an [beta](additional-configs.md#beta-features) feature.** -> The `enable-step-actions` feature flag must be set to `"true"` to specify a `StepAction` in a `Step`. +> Step actions are enabled by default. You can disable them by setting the `enable-step-actions` feature flag to `"false"`. A `StepAction` is the reusable and scriptable unit of work that is performed by a `Step`. diff --git a/pkg/apis/config/feature_flags.go b/pkg/apis/config/feature_flags.go index d0db62052cf..038ccf5f220 100644 --- a/pkg/apis/config/feature_flags.go +++ b/pkg/apis/config/feature_flags.go @@ -156,7 +156,7 @@ var ( DefaultEnableStepActions = PerFeatureFlag{ Name: EnableStepActions, Stability: BetaAPIFields, - Enabled: DefaultBetaFeatureEnabled, + Enabled: DefaultStableFeatureEnabled, } // DefaultEnableArtifacts is the default PerFeatureFlag value for EnableArtifacts