mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 18:19:07 +01:00
Docs-only pull requests and pushes skip Build and Test's frontend lint
job via scripts/ci_docs_only.py, relying on .github/workflows/public-docs.yml
to guard public documentation and shipped in-app Help. Previously, Public
docs omitted four frontend doc-lint audits that only ran under Build and
Test's npm run lint:
- Run the three zero-dependency Node doc audits unconditionally before
the docs recipe shards in Public docs (no actions/setup-node or npm ci
overhead): feature-release-audit.mjs (blocks unreleased build/preview
feature guides from shipped Help and release notes),
external-domain-audit.mjs (blocks fabricated Pulse-branded domains),
and planning-doc-status-audit.mjs (requires explicit Status headers on
docs/*_{SPEC,PLAN,CONTRACT}.md).
- Run npm run lint:shipped-docs-links (added in #5448) inside Public
docs' existing in-app Help check immediately after npm ci so broken
relative repository links, invalid /docs/* routes, and missing heading
anchors fail docs-only PRs before merging.
- Extend scripts/tests/test_public_docs_workflow.py to assert all four
workflow steps and ordering, execute the three zero-dependency audits
against both the live repository and failing/passing temporary git
fixtures, and verify the package.json script binding for
lint:shipped-docs-links.
Contract-Neutral: Extends the Public docs GitHub Actions workflow and its workflow contract tests to run existing frontend doc-lint audits on docs-only changes with no runtime, API, schema, or subsystem contract delta.
Change-source: pulse-maintainer