Skip to content

Commit 9bde6bf

Browse files
committed
fix: address CodeRabbit review - allowlist test secret, bump hooks v6
1 parent b1a71e6 commit 9bde6bf

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
name: trim trailing whitespace

.secrets.baseline

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,16 +129,6 @@
129129
]
130130
}
131131
],
132-
"results": {
133-
"tests/noise.test.ts": [
134-
{
135-
"type": "Secret Keyword",
136-
"filename": "tests/noise.test.ts",
137-
"hashed_secret": "f2b14f68eb995facb3a1c35287b778d5bd785511",
138-
"is_verified": false,
139-
"line_number": 210
140-
}
141-
]
142-
},
143-
"generated_at": "2026-03-07T02:10:26Z"
132+
"results": {},
133+
"generated_at": "2026-03-07T02:37:05Z"
144134
}

tests/noise.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ describe('stripNoise', () => {
207207
XDG_DATA_HOME: '/config/.local/share',
208208
PUID: '1000',
209209
TZ: 'America/New_York',
210-
API_KEY: 'secret123',
210+
API_KEY: 'secret123', // pragma: allowlist secret
211211
},
212212
},
213213
},

0 commit comments

Comments
 (0)