Skip to content

Commit

Permalink
feat(ci): add trufflehog secrets detection (huggingface#2038)
Browse files Browse the repository at this point in the history
  • Loading branch information
McPatate authored and yuanwu2017 committed Sep 24, 2024
1 parent 748764e commit ac73317
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/trufflehog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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

0 comments on commit ac73317

Please sign in to comment.