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.
6 lines
89 B
Bash
Executable File
6 lines
89 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
scripts/check-secrets.py --staged
|
|
scripts/check-file-size.py --staged
|