check-frontend.yml ignores *.md at the root, so a PR that only touches
README.md does not run src/__integration__/readme-guard.test.ts: the review
of such a PR runs it by hand. New bullet at the end of "Pièges de revue";
the "Niveaux" section is unchanged.
Resolves#523
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
src/__integration__/readme-guard.test.ts reads README.md and fails on any
match of /github/i (URL, badge, "GitHub Actions"), on "100 % local" or
"Aucune donnée ne quitte" (also across a line break or a no-break space),
and on a missing Markdown link to the French product page or to the latest
Forgejo release. Each check is a test of its own on the README, after a
canary that proves the file read is the README; samples pin what each
check flags and what it lets through.
Its header says what it protects, the rule of line 3 (the list of servers
of docs.settings.tips[6]; a guide sentence that is not a connection, such
as the label of the product page links, does not go up into the README)
and the trap: check-frontend.yml ignores *.md at the root, so a PR
that only touches the README does not run this guard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README, the repository's home page on Forgejo, sent downloads to a
GitHub copy frozen at v0.4.5, read its version badge from that copy,
described a release built by GitHub Actions and claimed that no data
leaves the computer. Texts as decided in the issue:
- line 3: "Vos données restent sur votre ordinateur", with the list of
servers that docs.settings.tips[6] gives (on its own, only the licence
server, and only when a key is stored);
- the version badge reads the Forgejo releases (Shields "gitea");
- a sentence under the features links the editions table of the product
page;
- Installation: the product page or the latest Forgejo release, the .rpm
from the release only; the SmartScreen note is unchanged;
- "Publier une nouvelle version" describes /release and
.forgejo/workflows/release.yml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>