Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindWorkflowFiles ¶
func ReplaceActionsInFile ¶
func ReplaceActionsInFile(filePath string, replacements []Replacement) error
Types ¶
type ActionReference ¶
type ActionReference struct {
Owner string
Repo string
Ref string
Line int
FilePath string
FullUses string
IsPinned bool
}
func ParseWorkflowFile ¶
func ParseWorkflowFile(filePath string) ([]ActionReference, error)
type Replacement ¶
type Replacement struct {
Action ActionReference
SHA string
Version string
}
Click to show internal directories.
Click to hide internal directories.