mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 04:10: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"
|
||||
- ".github/workflows/check-leaks.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
deadnix:
|
||||
name: Run trufflehog
|
||||
|
@ -16,7 +22,18 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.ref_name }}
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: TruffleHog scan
|
||||
uses: trufflesecurity/trufflehog@v3.88.35
|
||||
- id: trufflehog
|
||||
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