From 4e74ec09a8a8ba55091fcc8c10ebcdbc37497d31 Mon Sep 17 00:00:00 2001 From: Luc Georges Date: Mon, 10 Jun 2024 17:54:13 +0200 Subject: [PATCH] feat(ci): add trufflehog secrets detection (#2038) --- .github/workflows/trufflehog.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 00000000000..b8a3316e55b --- /dev/null +++ b/.github/workflows/trufflehog.yml @@ -0,0 +1,22 @@ +on: + push: + +name: Secret Leaks + +permissions: + contents: read + id-token: write + issues: write + pull-requests: write + +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 +