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)
| 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 |
| 345 | func 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 | } |