Kungfu UNGFU™Developer Platform

Back to Buildchain homeaction / action:validate-config

validate-config

Buildchain action page.

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.toml exists and uses schema 1;
  • 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.

Page metadata

Route
/actions/validate-config/
Category
action
Source path
actions/validate-config/README.md
Package
@kungfu-tech/buildchain@3.0.2-alpha.2
Digest
sha256:3f97259e5f4bc43cc48b4e134754a618daea92dfa5a8503767150ccafaf07309