From b92aa6b8158a8008d02f517d53340a9f886ddc80 Mon Sep 17 00:00:00 2001 From: James Garriss <52328727+james-garriss@users.noreply.github.com> Date: Wed, 14 Feb 2024 10:19:56 -0500 Subject: [PATCH] add enterprise --- .github/workflows/secret.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/secret.yaml b/.github/workflows/secret.yaml index a86ba24..9b490e0 100644 --- a/.github/workflows/secret.yaml +++ b/.github/workflows/secret.yaml @@ -10,9 +10,6 @@ jobs: gitleaks: name: Gitleaks runs-on: ubuntu-latest - defaults: - run: - shell: bash steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -23,9 +20,6 @@ jobs: truffle: name: TruffleHog runs-on: ubuntu-latest - defaults: - run: - shell: bash steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -33,3 +27,15 @@ jobs: uses: trufflesecurity/trufflehog@main with: extra_args: --no-verification + truffle-enterprise: + name: TruffleHog Enterprise + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 # fetch all history so multiple commits can be scanned + - name: Scan with TruffleHog Enterprise + uses: trufflesecurity/TruffleHog-Enterprise-Github-Action@main + with: + args: --fail-verified ${{ github.event.repository.default_branch }} HEAD