Skip to content

Commit 58eda0c

Browse files
committed
Add .gitleaks.toml to avoid detecting leaks on test files
1 parent 52f0da5 commit 58eda0c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.gitleaks.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[allowlist]
2+
description = "Global Allowlist"
3+
4+
# Ignore based on any subset of the file path
5+
paths = [
6+
# Ignore all test files
7+
'''**/src/test/**''',
8+
]

0 commit comments

Comments
 (0)