scanner

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWorkflows

func FindWorkflows(dir string) ([]string, error)

FindWorkflows returns all .yml/.yaml workflow files found in any .github/workflows directory under dir. It walks the directory tree recursively, matching the pattern **/.github/workflows/*.{yml,yaml}. Only direct children of each .github/workflows directory are returned — subdirectories within workflows are not traversed.

func FindWorkflowsInRoots added in v0.4.0

func FindWorkflowsInRoots(roots []string) ([]string, error)

FindWorkflowsInRoots returns workflow files from the given project root folders. Each root is expected to contain a .github/workflows directory. Only .yml/.yaml files directly inside each root's .github/workflows directory are returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL