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

Function GetWorkflow

pkg/cmd/workflow/shared/shared.go:152–154  ·  view source on GitHub ↗
(client *api.Client, repo ghrepo.Interface, workflowID int64)

Source from the content-addressed store, hash-verified

150}
151
152func GetWorkflow(client *api.Client, repo ghrepo.Interface, workflowID int64) (*Workflow, error) {
153 return getWorkflowByID(client, repo, strconv.FormatInt(workflowID, 10))
154}
155
156func isWorkflowFile(f string) bool {
157 name := strings.ToLower(f)

Callers

nothing calls this directly

Calls 1

getWorkflowByIDFunction · 0.85

Tested by

no test coverage detected