Skip to content

Commit

Permalink
Merge pull request #154 from NASA-PDS/secrets-part-deux
Browse files Browse the repository at this point in the history
Fixes false positive in secret detection against baseline due to config change
  • Loading branch information
jordanpadams authored Nov 29, 2023
2 parents 66445b6 + 8fd712e commit f5d6056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/secrets-detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
# find the secrets in the repository
detect-secrets scan --disable-plugin AbsolutePathDetectorExperimental --baseline .secrets.new \
--exclude-files '\.secrets..*' \
--exclude-files '\.pre-commit-config\.yaml' \
--exclude-files '\.git.*' \
--exclude-files '\.mypy_cache' \
--exclude-files '\.pytest_cache' \
Expand Down
2 changes: 1 addition & 1 deletion .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"path": "detect_secrets.filters.regex.should_exclude_file",
"pattern": [
"\\.secrets..*",
"\\.pre-commit-config.yaml",
"\\.pre-commit-config\\.yaml",
"\\.git.*",
"\\.mypy_cache",
"\\.pytest_cache",
Expand Down

0 comments on commit f5d6056

Please sign in to comment.