feat(ci): add trusted publisher release workflows for JS and Python SDKs#686
Open
Leechael wants to merge 3 commits into
Open
feat(ci): add trusted publisher release workflows for JS and Python SDKs#686Leechael wants to merge 3 commits into
Leechael wants to merge 3 commits into
Conversation
ebdad08 to
d0cc3c2
Compare
Add GitHub Actions workflows that publish to npm and PyPI using OIDC trusted publishers (no long-lived secrets). - js-sdk-release.yml: triggered by js-sdk-v* tags, publishes to npm with provenance. Includes npm upgrade, OIDC verification, and repository consistency checks. - python-sdk-release.yml: triggered by python-sdk-v* tags, builds with PDM and publishes via pypa/gh-action-pypi-publish. - Add repository field to sdk/js/package.json (required for npm Trusted Publishers / Sigstore provenance verification).
a6faf1f to
5032ce7
Compare
5032ce7 to
4520abf
Compare
5 tasks
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.
Add GitHub Actions workflows that publish to npm and PyPI using OIDC trusted publishers (no long-lived secrets).
js-sdk-release.yml): triggered byjs-sdk-v*tags, publishes to npm with provenance. Includes npm upgrade, OIDC verification, and repository consistency checks.python-sdk-release.yml): triggered bypython-sdk-v*tags, builds with PDM and publishes viapypa/gh-action-pypi-publish.repositoryfield tosdk/js/package.json— required for npm Trusted Publishers / Sigstore provenance verification.Registry configuration needed before first publish
Dstack-TEE, Repositorydstack, Workflowjs-sdk-release.yml.Dstack-TEE, Repositorydstack, Workflowpython-sdk-release.yml.