From 82816c31939358cd39640c5fc222c9568387c724 Mon Sep 17 00:00:00 2001 From: Chitrang Patel Date: Wed, 3 Apr 2024 15:01:26 -0400 Subject: [PATCH] Add description to StepActions This PR adds a `description` field to StepActions. It enables users to add description for readability and UI. Fixes https://github.com/tektoncd/pipeline/issues/7822 Signed-off-by: Chitrang Patel --- docs/pipeline-api.md | 26 +++++++++++++++++++ .../pipeline/v1alpha1/openapi_generated.go | 7 +++++ .../pipeline/v1alpha1/stepaction_types.go | 4 +++ pkg/apis/pipeline/v1alpha1/swagger.json | 4 +++ 4 files changed, 41 insertions(+) diff --git a/docs/pipeline-api.md b/docs/pipeline-api.md index 4bee675fe6d..5a07522b52b 100644 --- a/docs/pipeline-api.md +++ b/docs/pipeline-api.md @@ -6783,6 +6783,19 @@ StepActionSpec + + + +
+description
+ +string + +
+(Optional) +

Description is a user-facing description of the stepaction that may be +used to populate a UI.

+
image
string @@ -7619,6 +7632,19 @@ Refer Go’s ParseDuration documentation for expected format: