Commit 7716cfb
committed
fix(ci): repair gitleaks allowlist and OpenAPI client codegen
Secrets scan: the new working-tree scan flagged 29 example/placeholder
credentials in docs, test fixtures, and a dev-portal HTML snippet that the
previous diff-only action never saw. Extend the allowlist to exempt markdown,
test/spec files, build output, the dev-portal route, and obvious placeholder
tokens — the high-value custom rules (Stellar key, JWT_SECRET, PEM, keeper key)
still scan real source.
OpenAPI codegen drift: '@hey-api/typescript' was pinned as a standalone
dependency at ^0.46.0 but no such package exists on npm (it ships inside
@hey-api/openapi-ts), so 'npm install' 404'd and the check had been red on main.
Pin @hey-api/openapi-ts to 0.99.0, invoke it with explicit CLI flags (the JSON
config path hit a normalization bug), commit a lockfile for reproducible
installs, and regenerate src/ from the current openapi.yaml. Generation is
deterministic across runs, so the drift gate now passes.1 parent 77702e2 commit 7716cfb
6 files changed
Lines changed: 2471 additions & 144 deletions
File tree
- sdk/client
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
49 | 71 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments