Skip to content

Commit ac8c2da

Browse files
authored
feat(ci): add trufflehog secrets detection (huggingface#286)
1 parent ec7f09d commit ac8c2da

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/trufflehog.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
push:
3+
4+
name: Secret Leaks
5+
6+
jobs:
7+
trufflehog:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Secret Scanning
15+
uses: trufflesecurity/trufflehog@main

0 commit comments

Comments
 (0)