Skip to content

add csp hash

add csp hash #26

Workflow file for this run

name: Secret Scanning (TruffleHog)
# Scans every push and PR for accidentally committed secrets such as
# API keys, Discord tokens, database passwords, OAuth secrets, etc.
# TruffleHog uses entropy analysis + 800+ detectors for known secret formats.
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
id-token: write # required for verified results
jobs:
trufflehog:
name: Scan for leaked secrets
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
# Fetch full history so TruffleHog can scan all commits in the push/PR
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
# On push: scan only the new commits in this push
# On PR: scan only the commits added by the PR branch
extra_args: --results=verified,unknown