Skip to content

ci: run PyPI publish in release environment - #835

Merged
generall merged 1 commit into
mainfrom
ci/release-environment
Oct 21, 2026
Merged

generall merged 1 commit into
mainfrom
ci/release-environment

Conversation

@generall

Copy link
Copy Markdown
Member

Adds environment: release to the publish job. The release environment only allows v* tags.

Safe to merge before the secret is moved: a job in an environment still sees repo secrets.

Note: gpu releases are made from the gpu branch and use its copy of this workflow. Rebase gpu onto main after merging, or the next -gpu release will lose access to the token once the repo secret is deleted.

🤖 Generated with Claude Code

Restricts PYPI_API_TOKEN to v* tag refs once it is moved to the
environment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@generall
generall requested a review from joein as a code owner October 21, 2026 07:13
@generall
generall merged commit 7fb5531 into main Oct 21, 2026
17 checks passed
@generall
generall deleted the ci/release-environment branch October 21, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant