MCPcopy Create free account
hub / github.com/cli/cli / WorkflowName

Method WorkflowName

pkg/cmd/run/shared/shared.go:160–162  ·  view source on GitHub ↗

WorkflowName returns the human-readable name of the workflow that this run belongs to. TODO: consider lazy-loading the underlying API data to avoid extra API calls unless necessary

()

Source from the content-addressed store, hash-verified

158// WorkflowName returns the human-readable name of the workflow that this run belongs to.
159// TODO: consider lazy-loading the underlying API data to avoid extra API calls unless necessary
160func (r Run) WorkflowName() string {
161 return r.workflowName
162}
163
164func (r *Run) ExportData(fields []string) map[string]interface{} {
165 v := reflect.ValueOf(r).Elem()

Callers 6

ExportDataMethod · 0.95
watchRunFunction · 0.95
listRunFunction · 0.80
RenderRunHeaderFunction · 0.80
SelectRunFunction · 0.80
viewWorkflowInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected