Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,30 @@ jobs:
exit 1
fi
echo "✓ kernel version discipline OK"

# #2107 drift guard A: the config docs are generated from
# website/config-reference/*.yaml (single source). Regenerate and fail when
# the committed artifacts differ — a schema edit without re-running the
# generator goes red here. Zero-dep script: no npm install needed.
docs-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: node tools/gen-config-docs.mjs generate
- name: Fail on artifact drift
run: git diff --exit-code -- CONFIGURATION.md CONFIGURATION.zh-CN.md website/main.js website/docs/index.html

# #2107 drift guard B: every BILI_*/ACP_* env var read in src/ and every
# FileConfig top-level key must have a seed entry — an undocumented param
# added to src goes red here with the missing names listed.
docs-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: node tools/gen-config-docs.mjs check-coverage
418 changes: 372 additions & 46 deletions CONFIGURATION.md

Large diffs are not rendered by default.

420 changes: 373 additions & 47 deletions CONFIGURATION.zh-CN.md

Large diffs are not rendered by default.

Loading
Loading