Skip to content

Commit

Permalink
In Actions, use the same secrets detection as recommended in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Feb 13, 2025
1 parent afe3c09 commit 4a60319
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/secrets-detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# find the secrets in the repository
detect-secrets scan --disable-plugin AbsolutePathDetectorExperimental --baseline .secrets.new \
--exclude-files '\.secrets..*' \
--exclude-files '\.secrets\..*' \
--exclude-files '\.git.*' \
--exclude-files '\.pre-commit-config\.yaml' \
--exclude-files '\.mypy_cache' \
Expand All @@ -55,7 +55,9 @@ jobs:
--exclude-files 'venv' \
--exclude-files 'dist' \
--exclude-files 'build' \
--exclude-files '.*\.egg-info'
--exclude-files '.*\.egg-info' \
--exclude-files '.*\.tfstate' \
--exclude-files '.*\.tfvars'
# if there is any difference between the known and newly detected secrets, break the build
# Function to compare secrets without listing them
Expand Down

0 comments on commit 4a60319

Please sign in to comment.