Skip to content

Commit

Permalink
ci(secret): added files ts/tsx/js
Browse files Browse the repository at this point in the history
  • Loading branch information
NivedhaSV committed Nov 25, 2024
1 parent 13e6f94 commit 8e52d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/detect-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- name: Scan for Secrets
run: |
find . -name '*.tsx' | xargs git secrets --scan || (echo "Secrets detected in your push!"; exit 1)
git diff --cached --name-only | grep -E '\.(tsx|ts|js)$' | xargs git secrets --scan || (echo "Secrets detected in your push!"; exit 1)

0 comments on commit 8e52d1f

Please sign in to comment.