From c0966cfd78629b1d1387fe4c94dfd226535ad75b Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:54:07 +0100 Subject: [PATCH] Add trufflehog secrets detection (#429) --- .github/workflows/trufflehog.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 00000000..8ac08ad6 --- /dev/null +++ b/.github/workflows/trufflehog.yml @@ -0,0 +1,19 @@ +on: + push: + +name: Scan Secret Leaks + +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@main +