Skip to content

Commit

Permalink
add trufflehog scans to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jalling97 committed Apr 25, 2024
1 parent 8939555 commit d311db7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/secret-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: secret-scan
on:
pull_request:
paths:
# Catch-all
- "**"


jobs:
secret-scan: # scan for any live secrets in the repository using trufflehog
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Secret Scanning
uses: trufflesecurity/trufflehog@main
with:
extra_args: --only-verified

0 comments on commit d311db7

Please sign in to comment.