GFramework/.gitleaks.toml
GeWuYou 5c8de84256 chore(ci): 更新CI工作流配置以集成MegaLinter和SARIF报告
- 在.gitleaks.toml中添加测试凭证白名单注释说明
- 为MegaLinter步骤添加代码质量检查和安全扫描功能
- 配置FAIL_ON_ERROR环境变量在main分支上失败时停止
- 添加SARIF报告上传步骤到GitHub安全中心
- 更新TruffleHog扫描步骤的中文注释说明
2026-02-02 12:20:56 +08:00

16 lines
249 B
TOML

# Allowlist for fake/test/demo secrets only
# DO NOT add real credentials here
[allowlist]
description = "Ignore test/demo secrets"
paths = [
"docs/.*",
".*Test.*\\.json",
".*Development.*"
]
regexes = [
"FAKE_.*_KEY",
"TEST_.*_TOKEN"
]