mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(config): 更新 gitleaks 配置文件格式
- 将路径匹配从单引号格式改为双引号格式 - 将正则表达式从单引号格式改为双引号格式 - 在 allowlist 部分添加描述性空行以提高可读性 - 统一配置文件的字符串引用格式为双引号
This commit is contained in:
parent
defcca85f3
commit
f2f2083dd1
@ -1,12 +1,13 @@
|
||||
[allowlist]
|
||||
description = "Ignore test/demo secrets"
|
||||
|
||||
paths = [
|
||||
'''docs/.*''',
|
||||
'''.*Test.*\.json''',
|
||||
'''.*Development.*'''
|
||||
"docs/.*",
|
||||
".*Test.*\\.json",
|
||||
".*Development.*"
|
||||
]
|
||||
|
||||
regexes = [
|
||||
'''FAKE_.*_KEY''',
|
||||
'''TEST_.*_TOKEN'''
|
||||
"FAKE_.*_KEY",
|
||||
"TEST_.*_TOKEN"
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user