huggingface / huggingface.js

Utilities to use the Hugging Face Hub API
https://hf.co/docs/huggingface.js
MIT License
1.29k stars 160 forks source link

feat(ci): add trufflehog secrets detection #745

Closed McPatate closed 4 weeks ago

McPatate commented 4 weeks ago

What does this PR do?

Adding a GH action to scan for leaked secrets on each commit.

coyotte508 commented 3 weeks ago

Job seems to fail: https://github.com/huggingface/huggingface.js/actions/runs/9517113121/job/26234899723

McPatate commented 3 weeks ago

Looks like you used a ' in your commit message and the script wasn't expecting it. Let me check if I can find a way to circumvent.