Documentation
¶
Index ¶
Constants ¶
View Source
const (
// WorkflowDir is the directory where agent workflows are stored
WorkflowDir = ".github/hooks"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WorkflowFile ¶
type WorkflowFile struct {
Path string // Full path to the file
Name string // Workflow name (filename without extension)
RelPath string // Relative path from root
}
WorkflowFile represents a discovered workflow file
func Discover ¶
func Discover(rootDir string) ([]WorkflowFile, error)
Discover finds all workflow files in the given directory
func DiscoverByGlob ¶
func DiscoverByGlob(rootDir string, pattern string) ([]WorkflowFile, error)
DiscoverByGlob finds workflow files matching a glob pattern
Click to show internal directories.
Click to hide internal directories.