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

* feat(ci): add trufflehog secrets detection

* fix(ci): remove unnecessary permissions
This commit is contained in:
Luc Georges
2024-06-10 16:10:23 +02:00
committed by GitHub
parent 8d28dbefd1
commit 418c35c09e

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