Skip to content

ci(release): publish from the release environment - #53

Merged
jo16oh merged 1 commit into
mainfrom
ci/publish-in-release-env
Sep 24, 2026
Merged

jo16oh merged 1 commit into
mainfrom
ci/publish-in-release-env

Conversation

@jo16oh

@jo16oh jo16oh commented Sep 24, 2026

Copy link
Copy Markdown
Owner

npm and crates.io trust release.yml from any branch, because their trusted publishers name no environment.

  • Run the publish job in the release environment, which is limited to main

After the merge, set the environment name to release in both trusted publishers:

  • npm: css-var-kit and the five @css-var-kit/cli-* packages
  • crates.io: css-var-kit

Setting it before the merge makes the next release fail at publish.

@jo16oh
jo16oh merged commit 2246a15 into main Sep 24, 2026
9 checks passed
@jo16oh
jo16oh deleted the ci/publish-in-release-env branch September 25, 2026 00:12
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