Files
homelab-showcase/.github/workflows/public-safety.yml
fizzlepoof 3e0975af21
Some checks failed
public-safety / privacy-and-secret-scan (push) Has been cancelled
Harden public showcase privacy controls
2026-09-08 22:04:38 +00:00

28 lines
660 B
YAML

name: public-safety
on:
push:
pull_request:
permissions:
contents: read
jobs:
privacy-and-secret-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
fetch-depth: 0
- name: Check public-safe content
run: python3 scripts/check-public-safety.py
- name: Compile detector source
run: python3 -m py_compile scripts/check-public-safety.py
- name: Scan Git history for secrets
uses: gitleaks/gitleaks-action@dcedce43c6f43de0b836d1fe38946645c9c638dc # v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}