1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-16 05:16:08 +02:00

Align description of ADO and GHA (#5202)

* Align description of ADO and GHA

* Update description.go

---------

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
This commit is contained in:
Ashly Mathew 2024-12-09 10:36:58 +01:00 committed by GitHub
parent a70422c93d
commit ec77db1aa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,6 +65,7 @@ func createDescriptionSection(stepData *config.StepData) string {
description += fmt.Sprintf("%v name: %v\n", spacingTabBox, stepData.Metadata.Name)
description += fmt.Sprintf("%v inputs:\n", spacingTabBox)
description += fmt.Sprintf("%v stepName: %v\n", spacingTabBox, stepData.Metadata.Name)
description += fmt.Sprintf("%v flags: --anyStepParameter\n", spacingTabBox)
description += fmt.Sprintf("%v```\n\n", spacingTabBox)
}
@ -73,8 +74,8 @@ func createDescriptionSection(stepData *config.StepData) string {
description += headlineGHA
description += fmt.Sprintf("%v```\n", spacingTabBox)
description += fmt.Sprintf("%vsteps:\n", spacingTabBox)
description += fmt.Sprintf("%v - name: your preferred name for the step\n", spacingTabBox)
description += fmt.Sprintf("%v uses: SAP/project-piper-action@main\n", spacingTabBox)
description += fmt.Sprintf("%v - uses: SAP/project-piper-action@releaseCommitSHA\n", spacingTabBox)
description += fmt.Sprintf("%v name: %v\n", spacingTabBox, stepData.Metadata.Name)
description += fmt.Sprintf("%v with:\n", spacingTabBox)
description += fmt.Sprintf("%v step-name: %v\n", spacingTabBox, stepData.Metadata.Name)
description += fmt.Sprintf("%v flags: --anyStepParameter\n", spacingTabBox)