Skip to content

Commit

Permalink
Create trufflehog_scan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raziel007 authored Sep 15, 2024
1 parent 707222b commit a1cfc5c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trufflehog_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: TruffleHog Scan

on:
pull_request:
branches:
- main # Adjust this to your default branch

jobs:
trufflehog:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run TruffleHog
uses: trufflesecurity/trufflehog@v3
with:
scan: 'repo'
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a1cfc5c

Please sign in to comment.