Repository navigation
fix(release): bump the pre-commit hook and the README schema URL on release PRs - #32
Merged
Merged
Conversation
bnb
approved these changes
Nov 2, 2026
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.
tools/release-pr-cargo.shbumped Cargo.toml and Cargo.lock on the release PR, but not.pre-commit-hooks.yaml, whichthe_pre_commit_hook_installs_this_versionrequires to match the crate's version, or the README's$schemaURL, which is pinned to the release tag. With #30 at 0.2.0, that test would fail on the release PR and then on main.Changed:
@docov/cli@<version>in.pre-commit-hooks.yamland the tag in the README's schema URL. It commits only when something changed, so a rerun is still a no-op.41898283. github-actions[bot]'s id is 41898282, asaction/docov.shhas it.release.ymland.pre-commit-hooks.yamlsay what the script bumps.Checked: in a scratch worktree with package.json at 0.2.0, the bump commits Cargo.toml, Cargo.lock,
.pre-commit-hooks.yamland README.md, and a second run prints "already at 0.2.0". The hook test passes. With the hook left at 0.1.1, as the old script left it, the test fails.