-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c50b4de
commit 32d20ad
Showing
1 changed file
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|