feat(ci): Add automated release workflow with candidate-release labels#59
Merged
rubenmarcus merged 5 commits intomainfrom Jan 30, 2026
Merged
feat(ci): Add automated release workflow with candidate-release labels#59rubenmarcus merged 5 commits intomainfrom
rubenmarcus merged 5 commits intomainfrom
Conversation
Add GitHub Action workflow that automatically creates releases when version tags are pushed. The workflow: - Triggers on any v* tag push - Runs tests and build to verify the tag is valid - Detects prerelease versions (alpha, beta, rc) - Generates release notes from commits since last tag - Creates GitHub release with appropriate prerelease flag - Includes npm installation instructions in release notes The npm publish step is included but commented out - can be enabled when ready to automate npm publishing by adding NPM_TOKEN secret. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Deploying ralph-starter with
|
| Latest commit: |
bb9af96
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://391da381.ralph-starter.pages.dev |
| Branch Preview URL: | https://feat-release-automation.ralph-starter.pages.dev |
Enable the npm publish job now that NPM_TOKEN secret is configured. When a version tag is pushed, the workflow will: 1. Create a GitHub release 2. Publish to npm with appropriate tag (latest or beta) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Release workflow now: - Triggers only on push to main with package file changes - Ignores docs folder and markdown files - Checks if version in package.json actually changed - Only creates release + publishes if version bumped - Auto-creates git tag if needed Workflow: 1. Merge PR that bumps version in package.json 2. Workflow detects version change 3. Creates git tag, GitHub release, publishes to npm Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
New release flow: 1. PR with src/ changes gets auto-labeled `candidate-release` 2. Labeling creates a Release PR with version bump 3. Merging Release PR triggers: - Git tag creation - GitHub Release - npm publish Workflows: - prepare-release.yml: Auto-labels PRs, creates Release PRs - release.yml: Publishes when Release PR is merged Version bump rules: - feat: = minor bump - fix:/other = patch bump - BREAKING = major bump Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
rubenmarcus
added a commit
that referenced
this pull request
Jan 30, 2026
feat(ci): Add automated release workflow with candidate-release labels
rubenmarcus
added a commit
that referenced
this pull request
Jan 30, 2026
feat(ci): Add automated release workflow with candidate-release labels
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
Adds automated release workflow triggered by PR labels.
How it works
src/candidate-releaseby workflowchore(release): v0.1.3package.jsonversionVersion bump rules
BREAKINGor!feat:Files added
.github/workflows/prepare-release.yml- Creates release PRs.github/workflows/release.yml- Publishes on mergeLabels created
candidate-release- Marks PRs ready for releaserelease- Marks auto-generated release PRsTest plan
src/candidate-releaselabel is added🤖 Generated with Claude Code