nave schemas validate
Validate tracked files in a pen against their schemas.
Usage
Validate tracked files in a pen against their schemas
Usage: nave schemas validate [OPTIONS] <PEN>
Arguments:
<PEN> Pen name to validate
Options:
--check-actions Also validate workflow action `with:` blocks against upstream `action.yml`. Requires network for first-time ref resolution
--fail-fast Stop at the first failing file
--json
-h, --help Print help
Description
Validates every tracked file in the specified pen against its schema.
nave schemas validate <PEN>
Behaviour
- Validates all tracked files in the pen
- Outputs per-repo results
- Supports structured output via
--json
Failure types
- Schema errors — file does not conform to JSON Schema
- Action errors (with
--check-actions) — invalidwith:inputs in workflows
Options
--check-actions— validate GitHub Actions inputs against upstream definitions--fail-fast— stop on first failure--json— emit machine-readable output
Exit code is non-zero if any validation fails.