mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
fix(ci): allowlist build-time OMNIROUTE_BUILD_SHA in env-doc-sync
build:release injects OMNIROUTE_BUILD_SHA (git short SHA) read by write-build-sha.mjs to stamp dist/BUILD_SHA — it's build-time only, never a user .env var, so it belongs in IGNORE_FROM_CODE (like OMNIROUTE_CLI_SKIP_REPO_ENV) rather than .env.example/ENVIRONMENT.md. Fixes the Docs Sync (Strict) CI job.
This commit is contained in:
@@ -117,6 +117,10 @@ const IGNORE_FROM_CODE = new Set([
|
||||
// Test-only opt-out: instructs bin/omniroute.mjs to skip auto-loading the
|
||||
// repository .env so isolation tests get a deterministic environment.
|
||||
"OMNIROUTE_CLI_SKIP_REPO_ENV",
|
||||
// Build-time only: set by `build:release` (git short SHA) and read by
|
||||
// write-build-sha.mjs to stamp dist/BUILD_SHA — injected by the build, never
|
||||
// configured by users in .env.
|
||||
"OMNIROUTE_BUILD_SHA",
|
||||
// Source typo / placeholder.
|
||||
"OMNIROUT",
|
||||
// Static config alias path (the canonical var is OMNIROUTE_PAYLOAD_RULES_PATH).
|
||||
|
||||
Reference in New Issue
Block a user