🤖 ci: migrate to PR-based release workflow using create-pull-request#19
Merged
jonasmzsouza merged 9 commits intomainfrom Jan 12, 2026
Merged
🤖 ci: migrate to PR-based release workflow using create-pull-request#19jonasmzsouza merged 9 commits intomainfrom
jonasmzsouza merged 9 commits intomainfrom
Conversation
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 of Adjustments
This PR migrates the release pipeline to a PR-based workflow, replacing direct pushes to
mainwith a safer and more maintainable approach using peter-evans/create-pull-request and release-suite.The new setup is fully compatible with protected branches and avoids CI loops, manual pushes, and brittle scripting.
✨ What’s Changed
CI / Release Pipeline
release.yml→create-release-pr.ymlrelease/x.y.zbranchesTooling
semantic-releaseand its configurationrotate-token.ymlrelease-suitefor:eslint.config.jsfile with the correct Flat Config configurationBuild & Artifacts
build.mjs/distwhen presentpackage.jsonpackage-lock.jsonCHANGELOG.md🧠 Why This Approach
Using peter-evans/create-pull-request provides:
git pushorcurlcallsThis is the industry-standard approach for release-via-PR pipelines.
✅ Result
After this PR:
mainremains protected at all times🔗 Related Issue
Closes #18
Migration Notes
This change is internal to the CI pipeline and does not affect runtime behavior or public APIs of the package.