CI: fail when a changed upstream file lacks the AGPL 5(a) notice #84

Merged
jcoffey-dev merged 1 commits from ci/notice-check into main 2026-10-06 01:40:41 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 909c1bf081 CI: fail when a changed upstream file lacks the AGPL 5(a) notice
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 1m36s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m3s
The 53 upstream files this fork changed were marked on 2026-09-19
("Modified by Coffey Labs in 2026 for INBUXA."), but nothing kept it up:
the next edit to an upstream file could ship without the notice.

tools/notice-check.mjs does for the console what inbuxa-server's
tools/fork/notice-check.py does for the server: it diffs against the
upstream release this fork is built on (v1.0.11, dc462b1), takes every
changed file whose header names Stalwart Labs as a copyright holder, and
fails when one lacks the notice. --fix adds it under the license line
(npm run notice:check / notice:fix). Renames count; a pure move doesn't.

A new `notices` job runs it on every push and pull request, whatever
BUILD_ON says: seconds, no npm install.

Today: clean, 52 changed upstream files, all marked.
2026-10-05 18:38:17 -07:00