Skip to content

Commit

Permalink
docs: add todos for example uses
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Rose <[email protected]>
  • Loading branch information
matty-rose committed Nov 27, 2021
1 parent c65a550 commit aa81e20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/generator/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ func (mdg markdownGenerator) generateExternalActionTable(act *types.CompositeAct
func (mdg markdownGenerator) generateExampleUsageBlock(act *types.CompositeAction, doc *document.MarkdownDocument) {
doc.WriteCodeBlockMarkerWithFormat("yaml")
doc.WriteTextLn(fmt.Sprintf("- name: %s", act.Name))
// TODO: Some way of getting actual owner/repo name here?
// TODO: Add config option for action location - remote or local, and for local change
// `uses` to be a path
doc.WriteTextLn(" uses: owner/repo@latest")

if len(act.Inputs) == 0 {
Expand Down

0 comments on commit aa81e20

Please sign in to comment.