diff --git a/.github/workflows/trufflehog.yml b/.github/workflows/trufflehog.yml new file mode 100644 index 0000000000..02171a98dd --- /dev/null +++ b/.github/workflows/trufflehog.yml @@ -0,0 +1,23 @@ +name: Secret Scanning + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + trufflehog: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Secret Scanning + uses: trufflesecurity/trufflehog@v3.93.0 + with: + extra_args: --results=verified,unknown