security: allowlist the three test values the sweep reads as secrets (#8507)
release / go (push) Successful in 1m47s
release / web (push) Successful in 1m14s
release / govulncheck (push) Successful in 19s
release / android (push) Successful in 1m55s
release / integration (push) Successful in 2m42s
release / Build signed APK (push) Successful in 1m45s
release / Build + push container image (push) Successful in 16s
release / go (push) Successful in 1m47s
release / web (push) Successful in 1m14s
release / govulncheck (push) Successful in 19s
release / android (push) Successful in 1m55s
release / integration (push) Successful in 2m42s
release / Build signed APK (push) Successful in 1m45s
release / Build + push container image (push) Successful in 16s
The weekly security sweep flagged AWS's published SigV4 example keys in internal/backup/s3_test.go and a test invite token in internal/api/auth_register_test.go. None is a credential. A repo-level .gitleaks.toml extends the family config and allowlists each value with its reason. It is export-ignored like renovate.json, and the export check names it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -700,7 +700,7 @@ jobs:
|
||||
rm -rf "${EXPORT}"
|
||||
mkdir -p "${EXPORT}"
|
||||
git archive HEAD | tar -x -C "${EXPORT}"
|
||||
for private in .gitea .forgejo .github ci ci-requirements.md .gitattributes renovate.json; do
|
||||
for private in .gitea .forgejo .github ci ci-requirements.md .gitattributes renovate.json .gitleaks.toml; do
|
||||
if [ -e "${EXPORT}/${private}" ]; then
|
||||
echo "::error::the export carries ${private}; .gitattributes export-ignore no longer covers it"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user