This repository was archived by the owner on Mar 2, 2026. It is now read-only.
Add version tracking and auto-bump workflow#6
Merged
Conversation
Add VERSION file (1.0.0) and GitHub Action to auto-increment patch version on merge to main. Supports update notifications in Claude Code statusline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughA new GitHub Actions workflow is introduced to automatically increment the patch version in a VERSION file on main branch pushes, excluding commits with Changes
Sequence DiagramsequenceDiagram
participant GitHub as GitHub Actions
participant Repo as Git Repository
participant FS as File System
participant Git as Git Operations
GitHub->>Repo: Trigger workflow on push to main
GitHub->>FS: Checkout repository
FS->>GitHub: Repository checked out
GitHub->>FS: Read VERSION file
FS->>GitHub: Return version (1.0.0)
GitHub->>GitHub: Parse and increment PATCH<br/>(1.0.0 → 1.0.1)
GitHub->>FS: Write updated VERSION file
FS->>GitHub: File written
GitHub->>GitHub: Set NEW_VERSION output variable
GitHub->>Git: Commit VERSION change<br/>[skip bump] flag
Git->>Repo: Create commit
GitHub->>Git: Push to main
Git->>Repo: Update main branch
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
VERSIONfile (1.0.0) for tracking skill versionTest plan
1.0.0🤖 Generated with Claude Code
Summary by CodeRabbit