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.
10 lines
193 B
JSON
10 lines
193 B
JSON
{
|
|
"version": 1,
|
|
"salt": "40f076a2ae183c348be3e11a8b58ebac",
|
|
"digests": [],
|
|
"allowedCoAuthors": [
|
|
"ayo@ayco.io",
|
|
"ramon.aycojr@gmail.com",
|
|
"*@users.noreply.github.com"
|
|
]
|
|
}
|