validate-config
Buildchain v2 action for validating buildchain.toml without running lifecycle
commands.
Use this action during repository migration when a heavyweight project needs to prove that its Buildchain version state and lifecycle declaration are ready, but the actual build should not run yet.
Usage
- uses: kungfu-systems/buildchain/actions/validate-config@v3
with:
require-version-state: "true"
require-lifecycle-stages: "install,build,verify"
The action checks:
buildchain.tomlexists and uses schema1;- configured version-state files exist and expose a string version;
- anchored/manual version strategy declarations and JSON/TOML anchor manifests are structurally valid when configured;
- web-surface project, channel, deploy adapter, retention, and staging security declarations are structurally valid when configured;
- required lifecycle stages are declared and structurally valid.
It does not execute lifecycle.install, lifecycle.build, lifecycle.verify,
or any other lifecycle command.
Outputs include project-type, project-name, project-site, channels, and
deploy-adapters-json, so callers can route site workflows without reparsing
TOML in every repository.