chore(CI-CD): make version bump optional for README-only changes - #55
Merged
Conversation
version-bump-check previously required a bump for any change under src/<name>/, including doc-only tweaks — every published version ended up byte-identical in actual container behavior to the previous one except for a bundled README diff. Now checks whether anything besides README.md changed for the touched feature; if not, the bump is logged as optional rather than failing the job. Still worth bumping a README-only fix when it's safety-relevant, since release.yml's version-diff gate is also what triggers the website docs rebuild — an unbumped doc fix never reaches the published site. That's a judgment call now, not enforced. Verified locally: README-only + no bump passes, install.sh change + no bump still fails, install.sh change + bump passes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
✅ PR Validation Passed
📋 Pipeline Status
🤖 Generated by @helpers4 CI • 2026-08-08 |
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.
Description
Follow-up to a question about why
dotfiles-syncwent to1.0.8for a README-only fix: theversion-bump-checkjob previously required a bump for any change undersrc/<name>/, including doc-only tweaks — every published version ended up byte-identical in actual container behavior to the previous one except for a bundled README diff.Now the check only requires a bump when something other than
README.mdchanged for the touched feature. A README-only change is logged as "optional" rather than failing the job. AGENTS.md updated to match, with the reasoning for why you might still want to bump a docs-only fix (it's the only way to get it onto the published website, sincerelease.yml's version-diff gate also triggers the docs rebuild).Type of Change
Related Issues
None.
How Has This Been Tested?
js-yamlparse of the workflow fileinstall.shchange + no bump (still fails),install.shchange + bump (passes)Checklist
Screenshots (if applicable)
N/A.
Additional Context
None.
🤖 Generated with Claude Code