openvibers/openvibe.games Commits
gitleaks: the made-up session token's allowlist also covers its first-commit path (sqlite/sqliteStore.test.ts), so main's secrets scan is green again (#99)
Changes
@@@ -5,9 +5,9 @@useDefault = true[[allowlists]]--description = "Made-up player/session tokens in unit tests"++description = "Made-up player/session tokens in unit tests (sqlite/sqliteStore.test.ts: the same token in the first commit, before the PostgreSQL move)"condition = "AND"--paths = ['''^packages/(persistence/src/pg/pgStore|protocol/src/codec)\.test\.ts$''']++paths = ['''^packages/(persistence/src/pg/pgStore|persistence/src/sqlite/sqliteStore|protocol/src/codec)\.test\.ts$''']regexes = ['''^(tok_12345678|abcdefgh12345678)$'''][[allowlists]]
@@ -5,9 +5,9 @@
@@ -5,9 +5,9 @@
useDefault = true
useDefault = true
[[allowlists]]
[[allowlists]]
-description = "Made-up player/session tokens in unit tests"
+description = "Made-up player/session tokens in unit tests (sqlite/sqliteStore.test.ts: the same token in the first commit, before the PostgreSQL move)"
condition = "AND"
condition = "AND"
-paths = ['''^packages/(persistence/src/pg/pgStore|protocol/src/codec)\.test\.ts$''']
+paths = ['''^packages/(persistence/src/pg/pgStore|persistence/src/sqlite/sqliteStore|protocol/src/codec)\.test\.ts$''']
regexes = ['''^(tok_12345678|abcdefgh12345678)$''']
regexes = ['''^(tok_12345678|abcdefgh12345678)$''']
[[allowlists]]
[[allowlists]]