mnswpr/scripts
ayo 0a3571e2f4
chore: add contribution content checks (#53)
Adds scripts/check-content.mjs, a zero-dependency scanner for commits, branch
names, PR text, and contributed lines. It checks structural rules (attribution
trailers and footers, session links) and a maintainer-managed reserved-terms
list, shipped as salted digests in .repo-policy.json. Findings report a location
and a masked preview, never the matched term.

Wired up opt-in: the pre-commit hook scans the staged diff and branch name, a new
commit-msg hook scans the message, and the Checks workflow gates PRs and pushes
to main. The digest list ships empty; structural checks run regardless.
2026-07-16 21:17:44 +02:00
..
test chore: add contribution content checks (#53) 2026-07-16 21:17:44 +02:00
build-types.mjs chore: update docs 2026-07-16 16:10:46 +02:00
check-content.mjs chore: add contribution content checks (#53) 2026-07-16 21:17:44 +02:00
ensure-java.mjs chore: monorepo scripts (dev, build, db, etc) 2026-07-03 20:25:33 +02:00
publish-lib.js chore: move to @cozy-games/mnswpr 2026-07-06 00:11:22 +02:00
release.js chore: refactor the release script 2026-07-03 09:16:32 +02:00