MCPcopy Index your code
hub / github.com/github/gh-aw / EnableWorkflowsByNames

Function EnableWorkflowsByNames

pkg/cli/enable.go:25–28  ·  view source on GitHub ↗

EnableWorkflowsByNames enables workflows by specific names, or all if no names provided

(ctx context.Context, workflowNames []string, repoOverride string)

Source from the content-addressed store, hash-verified

23
24// EnableWorkflowsByNames enables workflows by specific names, or all if no names provided
25func EnableWorkflowsByNames(ctx context.Context, workflowNames []string, repoOverride string) error {
26 enableLog.Printf("EnableWorkflowsByNames called: workflow_count=%d, repo=%s", len(workflowNames), repoOverride)
27 return toggleWorkflowsByNames(ctx, workflowNames, true, repoOverride)
28}
29
30// DisableWorkflowsByNames disables workflows by specific names, or all if no names provided
31func DisableWorkflowsByNames(ctx context.Context, workflowNames []string, repoOverride string) error {

Callers 2

main.goFile · 0.92

Calls 2

toggleWorkflowsByNamesFunction · 0.85
PrintfMethod · 0.45

Tested by 1