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