fix(ci): bundle Vale rules to avoid private release downloads (#4707)

The prose check fails because it downloads its Vale rules from the
now-private docs repository.

Keep the five unchanged rules from `vale-lancedb-v0.1.0` in this
repository and disable `vale sync` in CI. This also works for
contributors without access to the docs repository. The update
instructions record the release and archive checksum.
This commit is contained in:
Brendan Clement
2026-10-28 08:16:42 -07:00
committed by GitHub
parent 45f987a29b
commit 149cf1052a
9 changed files with 187 additions and 14 deletions
+4 -4
View File
@@ -1,14 +1,13 @@
name: Docs prose style
# Vale checks the mechanical rules in the LanceDB style guide
# (lancedb/docs, STYLE.md) with the package pinned in .vale.ini. Its findings
# are advisory annotations on the lines a pull request adds or changes and
# never fail the job; an install, sync or configuration error still does.
# Style findings are advisory; installation and configuration errors fail.
on:
pull_request:
paths:
- "docs/web/**/*.mdx"
- ".vale.ini"
- ".github/vale/**"
- ".github/workflows/docs-style.yml"
permissions:
contents: read
@@ -40,6 +39,7 @@ jobs:
uses: vale-cli/vale-action@518a9136acc6e6668ce7c00d367051e0941e87ff # v3.0.0
with:
version: none
sync: false
files: docs/web
reporter: github-pr-annotations
filter_mode: added