pipe lint
Synopsis
pipe lint <name>Description
Resolves the pipeline (alias, Hub, or local), parses the YAML, checks for errors, and reports warnings. Does not execute any steps.
Errors (pipeline is invalid):
- Invalid or unknown YAML fields (strict parsing)
- Missing required fields (
id,runon each step) - Invalid variable keys
- Dependency cycles and self-dependencies
Warnings (pipeline is valid but may have issues):
- Unknown
depends_onreferences (ignored at runtime) - Possible embedded secrets in non-sensitive steps
- Unused declared variables
cachecombined withsensitive- References to sensitive step output variables
- Missing pipeline description (lint-only)
retry > 0combined withsensitive: true(lint-only)
Backward compatibility:
pipe validateis accepted as an alias.
Arguments
| Argument | Description |
|---|---|
<name> | Pipeline name, alias, or owner/name path |
Flags
None.
Examples
pipe lint deploypipeline "deploy" is validWith warnings:
pipe lint my-pipelineWARN step "fetch": unknown dependency "setup" (ignored)WARN step "auth": possible secret detected (GitHub token) — consider adding sensitive: truepipeline "my-pipeline" is valid with 2 warning(s)