artifact.validate¶
Validate artifacts against constraints (change budgets)
Properties¶
| Property | Type | Required | Description |
|---|---|---|---|
allowed_paths |
array | No | Glob patterns for allowed file paths |
artifact_file |
string | Yes | Path to artifact metadata JSON file |
forbidden_paths |
array | No | Glob patterns for forbidden file paths |
max_file_size |
integer | No | Maximum file size in bytes after changes |
max_files |
integer | No | Maximum number of files allowed to change |
max_lines_changed |
integer | No | Maximum total lines changed |
require_tests |
boolean | No | Require test file changes when code files change |
Platform Support¶
linux, darwin, windows, freebsd