feat(ci): add trufflehog secrets detection

This commit is contained in:
Luc Georges 2024-06-10 09:54:43 +02:00
parent 60d35735ee
commit 2585028524
No known key found for this signature in database
GPG Key ID: 8A2B84C1466CDF50

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

@ -0,0 +1,21 @@
on:
push:
name: Secret Leaks
permissions:
contents: read
id-token: write
issues: write
pull-requests: write
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