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

Function RunRunnerGuardOnDirectory

pkg/cli/compile_external_tools.go:57–59  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
57func 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
62func runBatchLockFileTool(toolName string, lockFiles []string, verbose bool, strict bool, runner func([]string, bool, bool) error) error {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected