From e760a760fe5ec110b960babebb37dae259a49a20 Mon Sep 17 00:00:00 2001 From: Patrick Wozniak Date: Tue, 2 Jun 2026 10:23:54 +0200 Subject: [PATCH] ci(gitleaks): allow test fixture files --- .gitleaks.toml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitleaks.toml b/.gitleaks.toml index 5e0e276..fd3908d 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -6,13 +6,8 @@ title = "pi-commandcode-provider secret scan" [allowlist] description = "Known safe paths and test fixtures" paths = [ - # Test helpers with mock credentials - "tests/test-oauth.ts", - "tests/test-retry.ts", - "tests/test-stream.ts", - "tests/test-pure-functions.ts", - "tests/test-pi-local.mjs", - "tests/test-omp-compat.mjs", + # Test fixtures use intentionally fake credentials. + "^tests/", # CI workflows reference NPM_TOKEN secret name ".github/workflows/publish.yml", ]