diff --git a/.github/workflows/secret.yaml b/.github/workflows/secret.yaml index 4cfa9c7..72d331d 100644 --- a/.github/workflows/secret.yaml +++ b/.github/workflows/secret.yaml @@ -7,20 +7,19 @@ on: workflow_dispatch: jobs: - trufflehog-ml: - name: TruffleHog from MegaLinter - runs-on: ubuntu-latest - defaults: - run: - shell: bash - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: TruffleHog - uses: oxsecurity/megalinter/flavors/security@latest - + # trufflehog-ml: + # name: TruffleHog from MegaLinter + # runs-on: ubuntu-latest + # defaults: + # run: + # shell: bash + # steps: + # - name: Checkout Repo + # uses: actions/checkout@v4 + # with: + # fetch-depth: 0 + # - name: TruffleHog + # uses: oxsecurity/megalinter/flavors/security@latest # gitleaks: # name: Gitleaks # runs-on: ubuntu-latest @@ -40,8 +39,8 @@ jobs: - name: Scan with TruffleHog uses: trufflesecurity/trufflehog@main with: - base: "" - head: ${{ github.head_ref }} + base: ${{ github.head_ref }} + head: ${{ github.ref_name }} extra_args: --no-verification # truffle-install: # name: TruffleHog Installation