ci: fix dprint plugin URL and add docs-check to pre-commit#778
Merged
Conversation
Fix dprint pretty_yaml plugin URL that was returning 404 errors (pretty_yaml-0.6.0 -> pretty_yaml-v0.6.0). Add docs-check to pre-commit hooks so documentation sync issues are caught locally before pushing. The hook runs on .go files and docs/src/**/*.md files to ensure config fields are documented. Co-Authored-By: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pretty_yaml-0.6.0->pretty_yaml-v0.6.0)docs-checkto pre-commit hooks so documentation sync issues are caught locally before pushingProblem
The dprint hook was failing with a 404 error when trying to download the pretty_yaml plugin because the URL was missing the
vprefix in the version.The docs-check CI was failing on PRs because new config fields weren't documented, but this wasn't being caught locally since docs-check wasn't in the pre-commit hooks.
Changes
pretty_yaml-0.6.0.wasmtopretty_yaml-v0.6.0.wasmdocs-checkhook that runspython3 scripts/check_docs.pyon.gofiles anddocs/src/**/*.mdfiles🤖 Generated with Claude Code