Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HashGetter ¶
type HashGetter struct {
// contains filtered or unexported fields
}
func NewHashGetter ¶
func NewHashGetter() *HashGetter
func (*HashGetter) GetHashForAction ¶
func (h *HashGetter) GetHashForAction(a SemverAction) (string, error)
type SemverAction ¶
func FindSemverActions ¶
func FindSemverActions(fileContents string) []SemverAction
FindSemverActions finds all actions in a file that match patterns like:
uses: actions/checkout@v2 uses: github/codeql-action/init@v3
It returns the matches.
Click to show internal directories.
Click to hide internal directories.