Commit 76fee28
ci: fix pnpm/node setup + gitleaks allowlist for required checks
CI 修复(让 3 项 required checks 跑绿):
- ci.yml 加 setup pnpm(v9) + setup node(v20, cache pnpm, docs-site/pnpm-lock.yaml),
修复 make public-docs-build 报 pnpm: not found
- 新增 .gitleaks.toml: 继承默认规则 + allowlist
- tests/test_cmd_hermes.py 的 sk-live-secret/sk-test-secret 假 fixture(curl-auth-header)
- 历史 commit 已删文档的 OPENAI_API_KEY(generic-api-key)
保留 git scan(fetch-depth:0 + detect)抓未来真新增泄漏,不改 --no-git
- secret-patterns.yml 加 --config .gitleaks.toml
注意: 历史 UUID key 的 allowlist 仅在 rotate 后安全(见 .gitleaks.toml 注释)。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 9c64659 commit 76fee28
3 files changed
Lines changed: 57 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments