Repository navigation
ci: change release strategy - #32
Conversation
There was a problem hiding this comment.
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
mainto the release workflow push branch triggers so semantic-release prereleases onmainrun automatically.
- Added
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:| branches: | ||
| - main | ||
| - next | ||
| - release |
There was a problem hiding this comment.
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)
|
🎉 This PR is included in version 2.13.1-main.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.13.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.13.1-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |



Note
Medium Risk
Changes which branches trigger automated publishing and how
semantic-releaseinterprets stable vs prerelease branches, which can affect when/what gets released to GitHub/NPM.Overview
Release automation is re-targeted to the
releasebranch. The GitHub ActionsReleaseworkflow now runs on pushes torelease(and supports manualworkflow_dispatch) instead ofmain/next.semantic-releasebranch configuration is updated accordingly.package.jsonnow publishes stable releases fromrelease, whilemainis configured as a prerelease branch, and the previousnextprerelease branch is removed.Written by Cursor Bugbot for commit 90feedf. This will update automatically on new commits. Configure here.