From: Luc Georges Date: Mon, 29 Jul 2024 16:52:41 +0000 (+0200) Subject: feat(ci): add trufflehog secrets detection (#484) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2ed7801991915bd9ae66551a4c78e3c9cf9f622d;p=safetensors.git feat(ci): add trufflehog secrets detection (#484) * feat(ci): add trufflehog secrets detection * fix(ci): remove unnecessary permissions --- diff --git a/.github/workflows/trufflehog.yml b/.github/workflows/trufflehog.yml new file mode 100644 index 0000000..9cbbf68 --- /dev/null +++ b/.github/workflows/trufflehog.yml @@ -0,0 +1,15 @@ +on: + push: + +name: Secret Leaks + +jobs: + trufflehog: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Secret Scanning + uses: trufflesecurity/trufflehog@main