puzzlevision/.github/workflows/check-leaks.yml
Jo 459a0427c3
Some checks failed
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled
Nix: check for unused code / Run deadnix (push) Has been cancelled
Nix: validate flake / Validate x86_64-linux (push) Has been cancelled
👷 Remove trufflehog head declaration
2025-05-31 18:57:46 +02:00

38 lines
830 B
YAML

name: "Trufflehog: check for exposed secrets"
on:
pull_request:
push:
paths:
- "**.nix"
- ".github/workflows/check-leaks.yml"
permissions:
contents: read
id-token: write
issues: write
pull-requests: write
jobs:
deadnix:
name: Run trufflehog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
fetch-depth: 0
- id: trufflehog
name: TruffleHog scan
uses: trufflesecurity/trufflehog@main
continue-on-error: true
with:
path: ./
base: "${{ github.event.repository.default_branch }}"
extra_args: --debug --only-verified
- name: Scan Results Status
if: steps.trufflehog.outcome == 'failure'
run: exit 1