Versions in this module Expand all Collapse all v0 v0.1.0 Jan 3, 2026 Changes in this version + type Action struct + Line int + Node *yaml.Node + Uses string + type Content struct + Jobs map[string]any + Name string + On any + Permissions any + type Workflow struct + Content *Content + File string + RawBytes []byte + func LoadWorkflow(path string) (*Workflow, error) + func LoadWorkflows(dir string) ([]*Workflow, error) + func (w *Workflow) BaseName() string + func (w *Workflow) ExtractWorkflowEnv() map[string]bool + func (w *Workflow) FindActions() ([]*Action, error) + func (w *Workflow) FindJobLine(jobID string) int + func (w *Workflow) FindStepLine(jobID string, stepIndex int) int + func (w *Workflow) HasPermissions() bool + func (w *Workflow) Lines() []string + func (w *Workflow) NormalizeCommentSpacing() bool + func (w *Workflow) Save() error + func (w *Workflow) UpdateActionUses(oldUses, newUses, comment string) error