Documentation
¶
Overview ¶
Package validate defines the extension point for native CI validators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(validator Validator)
Register makes a validator available to CI commands. It panics for an invalid registration because registrations occur during package setup and a duplicate would otherwise make command behavior non-deterministic.
func Text ¶
func Text(report validation.Report) string
Text renders diagnostics in a stable file:line:column form suitable for terminal and CI UI output.
Types ¶
type Request ¶
Request identifies the repository and optional workflow selection a validator should check. An empty Paths slice and WorkflowPath requests the validator's repository-wide default discovery behavior.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package githubactions implements GitHub Actions workflow validation.
|
Package githubactions implements GitHub Actions workflow validation. |
Click to show internal directories.
Click to hide internal directories.