Documentation
¶
Overview ¶
Package githubactions implements GitHub Actions workflow validation.
Index ¶
Constants ¶
View Source
const ValidatorName = "github-actions"
ValidatorName is the registry name for GitHub Actions workflow validation.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct{}
Validator validates GitHub Actions workflow files with actionlint.
func (Validator) Validate ¶
func (Validator) Validate(_ context.Context, request civalidate.Request) (validation.Report, error)
Validate checks the requested workflow files or workflow path. When neither is given, it checks the default .github/workflows path under Root. ShellCheck and Pyflakes are disabled intentionally: they are external tools and would make this built-in command depend on the host environment.
Click to show internal directories.
Click to hide internal directories.