Skip to content

Commit

Permalink
feat(ci): add trufflehog secrets detection (#1308)
Browse files Browse the repository at this point in the history
* feat(ci): add trufflehog secrets detection

* feat(ci): set correct permissions
  • Loading branch information
McPatate authored Jun 28, 2024
1 parent db4a993 commit 62e89f1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/trufflehog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Secret Leaks

on:
push:

permissions:
contents: read

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 62e89f1

Please sign in to comment.