Docker Setup: allowlist dotenv token fixtures

This commit is contained in:
Vincent Koc
2026-03-07 16:26:08 -08:00
parent d83f2c145a
commit 475b0cb49a

View File

@@ -257,7 +257,7 @@ describe("docker-setup.sh", () => {
await mkdir(configDir, { recursive: true });
await writeFile(
join(activeSandbox.rootDir, ".env"),
"OPENCLAW_GATEWAY_TOKEN=dotenv-token-123\nOPENCLAW_GATEWAY_PORT=18789\n",
"OPENCLAW_GATEWAY_TOKEN=dotenv-token-123\nOPENCLAW_GATEWAY_PORT=18789\n", // pragma: allowlist secret
);
const result = runDockerSetup(activeSandbox, {
@@ -282,7 +282,7 @@ describe("docker-setup.sh", () => {
[
"OPENCLAW_GATEWAY_TOKEN=",
"OPENCLAW_GATEWAY_TOKEN=first-token",
"OPENCLAW_GATEWAY_TOKEN=last=token=value\r",
"OPENCLAW_GATEWAY_TOKEN=last=token=value\r", // pragma: allowlist secret
].join("\n"),
);