Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchOrTag ¶
func GetRefList ¶
func GetRefList(action string) ([]BranchOrTag, error)
GetRefList takes an action and returns a list of matching tags
type Resolver ¶
type Resolver interface {
// Resolve checks if SHA is available for a given version of GitHub action
Resolve(action string) (string, error)
}
Resolver is a converter for action@version to a SHA string
type SHAResolver ¶
type SHAResolver struct {
// contains filtered or unexported fields
}
SHAResolver resolves a given action to it's safe SHA commit
func NewSHAResolver ¶
func NewSHAResolver() *SHAResolver
Click to show internal directories.
Click to hide internal directories.