Skip to content

ci: change release strategy - #32

Merged
designcode merged 1 commit into
mainfrom
ci/release-branching
Mar 10, 2026
Merged

designcode merged 1 commit into
mainfrom
ci/release-branching

Conversation

@designcode

@designcode designcode commented Mar 10, 2026 •

Copy link
Copy Markdown
Collaborator

Note

Medium Risk
Changes which branches trigger automated publishing and how semantic-release interprets stable vs prerelease branches, which can affect when/what gets released to GitHub/NPM.

Overview
Release automation is re-targeted to the release branch. The GitHub Actions Release workflow now runs on pushes to release (and supports manual workflow_dispatch) instead of main/next.

semantic-release branch configuration is updated accordingly. package.json now publishes stable releases from release, while main is configured as a prerelease branch, and the previous next prerelease branch is removed.

Written by Cursor Bugbot for commit 90feedf. This will update automatically on new commits. Configure here.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Workflow missing trigger for prerelease branch
    • Added main to the release workflow push branch triggers so semantic-release prereleases on main run automatically.

Create PR

Or push these changes by commenting:

@cursor push fb3afe423c
Preview (fb3afe423c)
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -3,6 +3,7 @@
 on:
   push:
     branches:
+      - main
       - release
   workflow_dispatch:
This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

branches:
- main
- next
- release

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Workflow missing trigger for prerelease branch

Medium Severity

The semantic-release config in package.json defines main as a prerelease branch, but the workflow in release.yaml only triggers on pushes to release. Pushes to main won't trigger the workflow, so automatic prereleases will never be published. The workflow's on.push.branches list needs to include main to match the semantic-release branches configuration.

Additional Locations (1)

Fix in Cursor Fix in Web

@designcode
designcode merged commit 81e495c into main Mar 10, 2026
3 checks passed
@designcode
designcode deleted the ci/release-branching branch March 10, 2026 15:05
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.13.1-main.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.13.1-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants