From c657fe8b14c060e6d88db8ca9defe2fa8d1ab609 Mon Sep 17 00:00:00 2001 From: Joichiro Hayashi Date: Thu, 24 Sep 2026 21:06:48 +0900 Subject: [PATCH] ci(release): publish from the release environment --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1b6976..66eb415 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -165,6 +165,8 @@ jobs: publish: needs: tag runs-on: ubuntu-latest + # npm and crates.io trust only this environment, so only `main` can publish. + environment: release permissions: contents: read id-token: write