Skip to content

Commit ecbdde0

Browse files
Create trufflehog.yml
1 parent 55abd3d commit ecbdde0

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/trufflehog.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: TruffleHog Secret Scan
2+
3+
on:
4+
push: # Run on every commit
5+
branches: # Tracks all branches
6+
- '**'
7+
pull_request: # Run on every PR
8+
branches:
9+
- '**'
10+
workflow_dispatch: # Allows manual execution
11+
12+
jobs:
13+
secret_scan:
14+
name: Secret Scanning
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@v4 # Updated to latest version
20+
21+
- name: Install TruffleHog
22+
run: pip install trufflehog
23+
24+
- name: Run TruffleHog
25+
run: trufflehog filesystem --no-entropy . || true

0 commit comments

Comments
 (0)