discover

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Workflows []string
	Actions   []string
}

Result holds discovered file paths grouped by type.

func Discover

func Discover(baseDir string) (Result, error)

Discover returns workflow and action file paths under baseDir. Workflows: baseDir/.github/workflows/*.yml|yaml Actions: any action.yml|action.yaml found recursively, excluding .git/ and node_modules/. Files that appear in both sets (e.g. .github/workflows/action.yml) are kept only in Workflows.

Jump to

Keyboard shortcuts

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