Skip to content

Add release-on-merge workflow for protected branches#91

Merged
sadjow merged 1 commit into
mainfrom
feat/release-on-merge-workflow
Jan 29, 2026
Merged

Add release-on-merge workflow for protected branches#91
sadjow merged 1 commit into
mainfrom
feat/release-on-merge-workflow

Conversation

@sadjow

@sadjow sadjow commented Jan 29, 2026

Copy link
Copy Markdown
Member

This PR introduces a new release workflow that works with protected branches.

Instead of pushing tags directly to main, developers can now open PRs with version bumps. After merging, the CI automatically detects unreleased versions and creates the GitHub Release, which triggers the npm publish.

Changes:

  • New release-on-merge.yml workflow that detects version bumps and creates releases
  • Renamed release script to release:prepare since it no longer pushes
  • Updated release documentation with the new process

@sadjow
sadjow requested a review from hakenprog January 29, 2026 14:37
@sadjow
sadjow marked this pull request as ready for review January 29, 2026 14:38

@hakenprog hakenprog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sadjow
sadjow merged commit 8dc4b2c into main Jan 29, 2026
2 checks passed
@sadjow
sadjow deleted the feat/release-on-merge-workflow branch March 11, 2026 14:24
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.

2 participants