Skip to content

Commit 40007b4

Browse files
authored
feat(ci): add trufflehog secrets detection (huggingface#2836)
1 parent 7141881 commit 40007b4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/trufflehog.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
4+
name: Secret Leaks
5+
6+
permissions:
7+
contents: read
8+
id-token: write
9+
issues: write
10+
pull-requests: write
11+
12+
jobs:
13+
trufflehog:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- name: Secret Scanning
21+
uses: trufflesecurity/trufflehog@main

0 commit comments

Comments
 (0)