MCPcopy Create free account
hub / github.com/github/gh-aw / getActionDependencies

Function getActionDependencies

pkg/cli/actions_build_command.go:345–353  ·  view source on GitHub ↗

getActionDependencies returns the list of JavaScript dependencies for an action This mapping defines which files from pkg/workflow/js/ are needed for each action

(actionName string)

Source from the content-addressed store, hash-verified

343// getActionDependencies returns the list of JavaScript dependencies for an action
344// This mapping defines which files from pkg/workflow/js/ are needed for each action
345func getActionDependencies(actionName string) []string {
346 // For setup, use the dynamic script discovery
347 // This ensures all .cjs files are included automatically
348 if actionName == "setup" {
349 return workflow.GetAllScriptFilenames()
350 }
351
352 return []string{}
353}

Callers 2

buildActionFunction · 0.85

Calls 1

GetAllScriptFilenamesFunction · 0.92

Tested by 1