feat(ci): add trufflehog secrets detection (#2262)

* feat(ci): add trufflehog secrets detection

* fix(ci): remove unnecessary permissions
This commit is contained in:
Luc Georges
2024-06-10 22:03:54 +02:00
committed by GitHub
parent 54ff971e35
commit 9f804af29d

15
.github/workflows/trufflehog.yml vendored Normal file
View File

@ -0,0 +1,15 @@
on:
push:
name: Secret Leaks
jobs:
trufflehog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Secret Scanning
uses: trufflesecurity/trufflehog@main