Skip to content

Commit

Permalink
add cli
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss authored Feb 14, 2024
1 parent b92aa6b commit 0e87017
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,23 @@ jobs:
uses: trufflesecurity/TruffleHog-Enterprise-Github-Action@main
with:
args: --fail-verified ${{ github.event.repository.default_branch }} HEAD
truffle-cli:
name: TruffleHog CLI
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: TruffleHog OSS
id: trufflehog
uses: trufflesecurity/trufflehog@add-actions-cli-switch
continue-on-error: true
with:
path: ./
base: "${{ github.event.repository.default_branch }}"
head: HEAD
extra_args: --debug --only-verified 
- name: Scan Results Status
if: steps.trufflehog.outcome == 'failure'
run: exit 1

0 comments on commit 0e87017

Please sign in to comment.