Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the SDK release process by replacing the legacy manual release script/workflow with a two-stage GitHub Actions pipeline that drafts a version-bump PR and publishes on merge to main.
Changes:
- Remove legacy
release.yml+release.shrelease path. - Add
release-draft.ymlto open a version-bump PR (updatesVERSION,package.json, andCHANGELOG.md). - Add
release-publish.ymlto run tests and publish to npm + create a GitHub release whenVERSIONchanges onmain.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| release.sh | Removes the manual npm publish script. |
| .github/workflows/release.yml | Removes the legacy one-step release workflow. |
| VERSION | Introduces a single-source version file used by the new workflows. |
| CHANGELOG.md | Adds a Keep a Changelog–style changelog to support release note generation. |
| .github/workflows/release-draft.yml | Adds workflow to bump version and open a release PR. |
| .github/workflows/release-publish.yml | Adds workflow to test, publish to npm (OIDC), and create a GitHub release on VERSION changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jamesnrokt
commented
Mar 6, 2026
Contributor
BrandonStalnaker
left a comment
There was a problem hiding this comment.
I haven't fully reviewed but I had a couple questions it didn't make sense to hold back
thomson-t
reviewed
Mar 6, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
thomson-t
approved these changes
Mar 6, 2026
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
release.yml+release.shwith a two-stagerelease-draft/release-publishworkflow aligned to the ROKT SDK release patternrelease-draft.ymlopens a version-bump PR (semver input, updatesVERSION,package.json,CHANGELOG.md, and populates PR body with generated release notes)release-publish.ymltriggers automatically onVERSIONfile changes tomain, runs all tests, publishes to npm via OIDC, and creates a GitHub releaseImportant: Once merged you need to cancel the release process as this will try to release the current version again due to the VERSION file being created
Testing Plan
Workflow can be verified by running
release-draft.ymlwithbump-type: patch(expected: PR created forrelease/2.8.2), then merging that PR (expected:release-publish.ymltriggers, npm publish, GitHub release created).Master Issue
N/A