Skip to content

Commit

Permalink
Align description of ADO and GHA (#5202)
Browse files Browse the repository at this point in the history
* Align description of ADO and GHA

* Update description.go

---------

Co-authored-by: Christopher Fenner <[email protected]>
  • Loading branch information
ashlymat and CCFenner authored Dec 9, 2024
1 parent a70422c commit ec77db1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/documentation/generator/description.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand All @@ -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)
Expand Down

0 comments on commit ec77db1

Please sign in to comment.