diff --git a/.github/workflows/detect-secrets.yml b/.github/workflows/detect-secrets.yml index 9d39102..97e90e9 100644 --- a/.github/workflows/detect-secrets.yml +++ b/.github/workflows/detect-secrets.yml @@ -24,7 +24,7 @@ jobs: - name: Run detect-secrets-hook shell: bash run: | - detect-secrets-hook --baseline .secrets.baseline * --json > /tmp/secrets.json + git ls-files | xargs detect-secrets-hook --baseline .secrets.baseline --json > /tmp/secrets.json - name: Show detect-secrets differences if: ${{ failure() }} run: git diff \ No newline at end of file