Skip to content

Commit

Permalink
add trufflehog github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TanvirOnGH committed Aug 6, 2024
1 parent 7984428 commit 3b5b680
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/trufflehog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Trufflehog
on: [pull_request, push, workflow_dispatch]

jobs:
trufflehog:
name: trufflehog
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Secret Scanning
uses: trufflesecurity/trufflehog@main
with:
extra_args: --only-verified

# Scan entire branch
- name: scan-push
uses: trufflesecurity/trufflehog@main
with:
base: ""
head: ${{ github.ref_name }}
extra_args: --only-verified

0 comments on commit 3b5b680

Please sign in to comment.