This repository was archived by the owner on Feb 13, 2026. It is now read-only.
馃搶 Update flake (29.12.2025) #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Trufflehog: check for exposed secrets" | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| paths: | |
| - "**.nix" | |
| - ".github/workflows/check-leaks.yml" | |
| - "**.yaml" | |
| - "**.md" | |
| permissions: | |
| contents: read | |
| id-token: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| deadnix: | |
| name: Run trufflehog | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@main | |
| with: | |
| 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 |