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:
parent
a70422c93d
commit
ec77db1aa8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user