fix(ci): refresh detect-secrets allowlists and baseline

This commit is contained in:
Peter Steinberger
2026-03-07 21:30:04 +00:00
parent a617cd7b79
commit 6181fe22c7
3 changed files with 14 additions and 14 deletions

View File

@@ -501,6 +501,6 @@ describe("resolveGatewayCredentialsFromValues", () => {
tokenPrecedence: "config-first",
passwordPrecedence: "config-first", // pragma: allowlist secret
});
expect(resolved).toEqual({ token: "real-token-value", password: "real-password" });
expect(resolved).toEqual({ token: "real-token-value", password: "real-password" }); // pragma: allowlist secret
});
});

View File

@@ -4,7 +4,7 @@ const completeMock = vi.fn();
const minimaxUnderstandImageMock = vi.fn();
const ensureOpenClawModelsJsonMock = vi.fn(async () => {});
const getApiKeyForModelMock = vi.fn(async () => ({
apiKey: "oauth-test",
apiKey: "oauth-test", // pragma: allowlist secret
source: "test",
mode: "oauth",
}));
@@ -82,7 +82,7 @@ describe("describeImageWithModel", () => {
expect(requireApiKeyMock).toHaveBeenCalled();
expect(setRuntimeApiKeyMock).toHaveBeenCalledWith("minimax-portal", "oauth-test");
expect(minimaxUnderstandImageMock).toHaveBeenCalledWith({
apiKey: "oauth-test",
apiKey: "oauth-test", // pragma: allowlist secret
prompt: "Describe the image.",
imageDataUrl: `data:image/png;base64,${Buffer.from("png-bytes").toString("base64")}`,
modelBaseUrl: "https://api.minimax.io/anthropic",