mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 02:16:37 +00:00
feat(ci): add trufflehog secrets detection (#2262)
* feat(ci): add trufflehog secrets detection * fix(ci): remove unnecessary permissions
This commit is contained in:
15
.github/workflows/trufflehog.yml
vendored
Normal file
15
.github/workflows/trufflehog.yml
vendored
Normal 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
|
Reference in New Issue
Block a user