-
-
Notifications
You must be signed in to change notification settings - Fork 503
36 lines (32 loc) · 1.13 KB
/
Copy pathsecret-scan.yml
File metadata and controls
36 lines (32 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Secret Scan Workflow - TruffleHog credential leak detection.
# Runs verified-only secret scanning on pull requests, master pushes,
# and manual dispatch without adding local commit-hook friction.
# -------------------------------------------------------------------
######################################################################
name: Secret Scan
on:
pull_request:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
jobs:
trufflehog:
name: TruffleHog
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Scan for verified secrets
uses: trufflesecurity/trufflehog@v3.95.3
with:
version: 3.95.3
extra_args: --results=verified --force-skip-binaries --force-skip-archives