MCPcopy
hub / github.com/cli/cli / GetWorkflow

Function GetWorkflow

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getWorkflowByIDFunction · 0.85

Tested by

no test coverage detected