This commit is contained in:
acidburnmonkey
2025-07-06 20:16:44 -04:00
parent dccdb689dd
commit 367fcf851c
+8 -15
View File
@@ -1,20 +1,13 @@
name: TruffleHog OSS name: gitleaks
on: [pull_request, push, workflow_dispatch]
on:
push:
branches:
- master
pull_request:
jobs: jobs:
test: scan:
name: gitleaks
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - uses: actions/checkout@v3
uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Secret Scanning - uses: gitleaks/gitleaks-action@v2
uses: trufflesecurity/trufflehog@main env:
with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
extra_args: --results=verified,unknown