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:
Fabio Lussi
2026-10-12 07:13:41 +02:00
co-authored by Claude Opus 5.5
parent d3690e76c4
commit 7fe040f66a
2 changed files with 13 additions and 11 deletions
+3 -2
View File
@@ -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