From d4f2f8c706c93c0cc829ddc2abee1d0627c59593 Mon Sep 17 00:00:00 2001 From: Artem Makhortov <13339874+artmakh@users.noreply.github.com> Date: Wed, 28 Aug 2024 20:57:02 +0700 Subject: [PATCH] chore(ci): Add truflehog CI (#9) chore(ci): Add truflehog CI --- .github/workflows/secrets_scanner.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/secrets_scanner.yaml diff --git a/.github/workflows/secrets_scanner.yaml b/.github/workflows/secrets_scanner.yaml new file mode 100644 index 0000000..dc70605 --- /dev/null +++ b/.github/workflows/secrets_scanner.yaml @@ -0,0 +1,19 @@ +name: Leaked Secrets Scan +on: + pull_request: + merge_group: +jobs: + TruffleHog: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + fetch-depth: 0 + - name: TruffleHog OSS + uses: trufflesecurity/trufflehog@fe5624c70923355128868cffd647b6e2cfe11443 # v3.81.9 + with: + path: ./ + base: ${{ github.event.repository.default_branch }} + head: HEAD + extra_args: --debug --only-verified