1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

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

This commit is contained in:
Luc Georges
2024-06-08 04:26:47 +02:00
committed by GitHub
parent 0d68ddf327
commit 83bc6c94ea

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