Skip to main content

Environment variables

ciz uses a small set of environment variables for configuration and runtime context.

Variables that affect CLI behavior

VariableMeaning
CIZ_CONFIG_DIRDefault value for the global --config-dir flag
LITECI_CONFIG_DIRDeprecated alias for CIZ_CONFIG_DIR
CIZ_RUNNERDefault runner for ciz run
LITECI_RUNNERDeprecated alias for CIZ_RUNNER
GITHUB_ACTIONSCauses run to auto-select the GitHub Actions backend when set to true
GITHUB_WORKSPACEUsed as the default workdir for the GitHub Actions backend when --workdir is not set

Variables injected during execution

VariableMeaning
CIZ_CONTEXTRuntime environment label such as local, container, or ci
CIZ_RUNNERResolved runner name for the current step
LITECI_CONTEXTDeprecated compatibility alias
LITECI_RUNNERDeprecated compatibility alias

GitHub Actions compatibility mode

When the GitHub Actions backend is active, ciz also supports standard GitHub Actions workflow command behavior such as GITHUB_ENV, GITHUB_OUTPUT, and GITHUB_PATH handling inside the compatibility engine.

Prefer CLI flags when you need per-command overrides, and reserve environment variables for CI defaults or workspace-wide configuration.