MCPcopy Index your code
hub / github.com/cli/cli / WorkflowName

Method WorkflowName

pkg/cmd/run/shared/shared.go:158–160  ·  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

156// WorkflowName returns the human-readable name of the workflow that this run belongs to.
157// TODO: consider lazy-loading the underlying API data to avoid extra API calls unless necessary
158func (r Run) WorkflowName() string {
159 return r.workflowName
160}
161
162func (r *Run) ExportData(fields []string) map[string]interface{} {
163 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