RunRunnerGuardOnDirectory runs runner-guard taint analysis scanner once on a directory. Runner-guard scans all workflows in a directory, so it only needs to run once.
(workflowDir string, verbose bool, strict bool)
| 55 | // RunRunnerGuardOnDirectory runs runner-guard taint analysis scanner once on a directory. |
| 56 | // Runner-guard scans all workflows in a directory, so it only needs to run once. |
| 57 | func RunRunnerGuardOnDirectory(workflowDir string, verbose bool, strict bool) error { |
| 58 | return runRunnerGuardOnDirectory(workflowDir, verbose, strict) |
| 59 | } |
| 60 | |
| 61 | // runBatchLockFileTool runs a batch tool on lock files with uniform error handling |
| 62 | func runBatchLockFileTool(toolName string, lockFiles []string, verbose bool, strict bool, runner func([]string, bool, bool) error) error { |
nothing calls this directly
no test coverage detected