From 2ed7801991915bd9ae66551a4c78e3c9cf9f622d Mon Sep 17 00:00:00 2001 From: Luc Georges Date: Mon, 29 Jul 2024 18:52:41 +0200 Subject: [PATCH] feat(ci): add trufflehog secrets detection (#484) * feat(ci): add trufflehog secrets detection * fix(ci): remove unnecessary permissions --- .github/workflows/trufflehog.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/trufflehog.yml 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 -- 2.43.0