mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
feat(ci): add trufflehog secrets detection
This commit is contained in:
parent
60d35735ee
commit
2585028524
21
.github/workflows/trufflehog.yml
vendored
Normal file
21
.github/workflows/trufflehog.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user