Skip to content

Skip version bump when all changes are comment-only#1922

Merged
revarbat merged 1 commit intomasterfrom
revarbat_dev
Feb 25, 2026
Merged

Skip version bump when all changes are comment-only#1922
revarbat merged 1 commit intomasterfrom
revarbat_dev

Conversation

@revarbat
Copy link
Collaborator

Summary

  • Adds a new step to the Daily Version Stamp workflow that checks whether all changes since the last version bump are limited to // comment lines
  • If every changed line (excluding version.scad) is a comment or blank, the version bump and commit are skipped
  • Handles edge cases: no previous bump found (proceeds with bump), no non-version changes found (skips bump)

Test plan

  • Merge a PR that only changes // comment lines in .scad files — verify the daily workflow does not bump the version
  • Merge a PR with real code changes — verify the daily workflow does bump the version as before

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@revarbat revarbat merged commit 7ab41d5 into master Feb 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant