mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-01 22:17:53 -06:00
docs: pin the docs checker to a commit and its SHA-256
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d3690e76c4
commit
7fe040f66a
+3
-2
@@ -50,10 +50,11 @@ drafts and are not published.
|
||||
|
||||
## Check before you push
|
||||
|
||||
curl -fsSL https://raw.githubusercontent.com/storytold/artcraft-services/main/frontend/apps/artcraft-website-next/scripts/docs/core.mjs -o /tmp/docs-core.mjs
|
||||
commit=$(awk '/CHECKER_COMMIT:/ {print $2}' .github/workflows/docs-check.yml)
|
||||
curl -fsSL "https://raw.githubusercontent.com/storytold/artcraft-services/$commit/frontend/apps/artcraft-website-next/scripts/docs/core.mjs" -o /tmp/docs-core.mjs
|
||||
node /tmp/docs-core.mjs docs/user
|
||||
|
||||
CI runs the same check on every PR that touches `docs/user/`.
|
||||
This uses the same pinned checker as CI (`.github/workflows/docs-check.yml`).
|
||||
|
||||
## Support PRs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user