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

这个提交包含在:
Luc Georges
2024-06-10 14:25:43 +02:00
提交者 GitHub
父节点 055a6f60c6
当前提交 a06598678c

18
.github/workflows/trufflehog.yml vendored 普通文件
查看文件

@ -0,0 +1,18 @@
on:
push:
name: Secret Leaks
permissions:
contents: read
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