Reference/Command reference
saphan pr-preflight
Run PR pre-flight checks (branch, status, log, behind-base, submodule, build, scoped-test) and emit a STOP list
saphan pr-preflight
Run PR pre-flight checks (branch, status, log, behind-base, submodule, build, scoped-test) and emit a STOP list
Options
| Option | Type | Default | Description |
|---|---|---|---|
--base | string | unset | base branch the PR will target, e.g. develop [required] |
--branch-pattern | string | unset | glob the work branch must match, e.g. 'feature/*' (optional) |
--build-cmd | string | unset | command that must build cleanly before a PR [required] |
--config | string | unset | project-layer config file (mechanic facts live there, never in the engine) |
--subject-pattern | string | unset | RE2 regexp every commit subject ahead of base must match (optional) |
--test-cmd | string | unset | scoped test command that must be green before a PR [required] |
--workdir | string | unset | repository directory the checks observe (optional) |