mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 20:30:05 +00:00
👷 More accurate trufflehog scan configuration
This commit is contained in:
parent
02bf31fa25
commit
86a6674214
1 changed files with 20 additions and 3 deletions
23
.github/workflows/check-leaks.yml
vendored
23
.github/workflows/check-leaks.yml
vendored
|
@ -7,6 +7,12 @@ on:
|
||||||
- "**.nix"
|
- "**.nix"
|
||||||
- ".github/workflows/check-leaks.yml"
|
- ".github/workflows/check-leaks.yml"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deadnix:
|
deadnix:
|
||||||
name: Run trufflehog
|
name: Run trufflehog
|
||||||
|
@ -16,7 +22,18 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref_name }}
|
ref: ${{ github.ref_name }}
|
||||||
persist-credentials: false
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: TruffleHog scan
|
- id: trufflehog
|
||||||
uses: trufflesecurity/trufflehog@v3.88.35
|
name: TruffleHog scan
|
||||||
|
uses: trufflesecurity/trufflehog@add-actions-cli-switch
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
path: ./
|
||||||
|
base: "${{ github.event.repository.default_branch }}"
|
||||||
|
head: HEAD
|
||||||
|
extra_args: --debug --only-verified
|
||||||
|
|
||||||
|
- name: Scan Results Status
|
||||||
|
if: steps.trufflehog.outcome == 'failure'
|
||||||
|
run: exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue