Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PinnedVersion = VersionStyle("pinned") SemanticVersionFullyQualified = VersionStyle("semver") SemanticVersionPartiallyQualified = VersionStyle("semver-partial") SemanticVersionMajorComponentOnly = VersionStyle("semver-major") BranchReference = VersionStyle("branch") )
View Source
var ErrCurrentVersionUnmatched = errors.New("could not match version tag to a tag or release on github (might be tagged to a commit)")
Functions ¶
func ListActions ¶
func ListActions() error
func ListOutdatedActions ¶
func PinActions ¶
Types ¶
type ParsedAction ¶
type ParsedAction struct {
FilePath string
Node yaml.Node
Owner, Repo string
Subpath string
RawVersionString string
CurrentVersionTag *api.Tag
LatestVersionTag *api.Tag
PinVersionTag *api.Tag
VersionStyle VersionStyle
}
func (ParsedAction) ActionReference ¶
func (p ParsedAction) ActionReference() string
ActionReference returns the formatted action reference (owner/repo/subpath).
func (ParsedAction) IsOutdated ¶
func (p ParsedAction) IsOutdated() (bool, error)
func (ParsedAction) NewVersionString ¶
func (p ParsedAction) NewVersionString() (string, error)
type VersionStyle ¶
type VersionStyle string
Click to show internal directories.
Click to hide internal directories.