Files
breeze/.githooks/pre-commit
T
waozi bc2c059b84 Refuse new files over 1 MB on commit and in CI
Git keeps every version of a file, and retired media made the history
317 MB. The pre-commit hook and CI's Secret Scan job now refuse added or
changed files over 1 MB unless .github/large-files.txt lists them. The list
holds what the app ships or builds from today: the Sun Salutation videos,
Lumi, the default profile picture, the Plan 9 WAV music and the Tai Chi
narration receipts. Drafts and explorations belong in the ignored backup/
folder; Git LFS files are small pointers and pass.
2026-10-17 17:47:09 -03:00

6 lines
89 B
Bash
Executable File

#!/bin/sh
set -eu
scripts/check-secrets.py --staged
scripts/check-file-size.py --staged