mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 12:20:04 +00:00
👷 Add leakage check CI action
This commit is contained in:
parent
914537921b
commit
2743a9d143
1 changed files with 22 additions and 0 deletions
22
.github/workflows/check-leaks.yml
vendored
Normal file
22
.github/workflows/check-leaks.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: "Trufflehog: check for exposed secrets"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths:
|
||||
- "**.nix"
|
||||
- ".github/workflows/check-leaks.yml"
|
||||
|
||||
jobs:
|
||||
deadnix:
|
||||
name: Run trufflehog
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.ref_name }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: TruffleHog scan
|
||||
uses: trufflesecurity/trufflehog@v3.88
|
Loading…
Add table
Add a link
Reference in a new issue