mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 13:05:01 +00:00
CI: restore main detect-secrets scan (#38438)
* Tests: stabilize detect-secrets fixtures * Tests: fix rebased detect-secrets false positives * Docs: keep snippets valid under detect-secrets * Tests: finalize detect-secrets false-positive fixes * Tests: reduce detect-secrets false positives * Tests: keep detect-secrets pragmas inline * Tests: remediate next detect-secrets batch * Tests: tighten detect-secrets allowlists * Tests: stabilize detect-secrets formatter drift
This commit is contained in:
@@ -180,7 +180,7 @@ describe("serveAcpGateway startup", () => {
|
||||
it("passes resolved SecretInput gateway credentials to the ACP gateway client", async () => {
|
||||
mockState.resolveGatewayCredentialsWithSecretInputs.mockResolvedValue({
|
||||
token: undefined,
|
||||
password: "resolved-secret-password",
|
||||
password: "resolved-secret-password", // pragma: allowlist secret
|
||||
});
|
||||
const { signalHandlers, onceSpy } = captureProcessSignalHandlers();
|
||||
|
||||
@@ -195,7 +195,7 @@ describe("serveAcpGateway startup", () => {
|
||||
);
|
||||
expect(mockState.gatewayAuth[0]).toEqual({
|
||||
token: undefined,
|
||||
password: "resolved-secret-password",
|
||||
password: "resolved-secret-password", // pragma: allowlist secret
|
||||
});
|
||||
|
||||
const gateway = getMockGateway();
|
||||
|
||||
Reference in New Issue
Block a user