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

Function GetWorkflow

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getWorkflowByIDFunction · 0.85

Tested by

no test coverage detected