Skip to content

Commit

Permalink
Update 01-run-trofflehog.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silabs-ThieuVu authored Nov 13, 2024
1 parent c50b4de commit 32d20ad
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/01-run-trofflehog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Python 3.x
uses: actions/setup-python@v2
- name: Checkout code
uses: actions/[email protected]
with:
python-version: '3.x'

- name: Install TruffleHog
run: |
python -m pip install --upgrade pip
pip install trufflehog
trufflehog -V
- name: Run TruffleHog on the repository
run: |
trufflehog --json https://github.com/${{ github.repository }} > trufflehog_report.json
fetch-depth: 0
- name: Secret Scanning
uses: trufflesecurity/trufflehog@main
with:
extra_args: --only-verified

- name: Upload TruffleHog Report
uses: actions/[email protected]
Expand Down

0 comments on commit 32d20ad

Please sign in to comment.