From fd03049d4d2724e624acf752f9b3cfbfee400c47 Mon Sep 17 00:00:00 2001 From: Andrea Bueide Date: Mon, 2 Mar 2026 17:54:21 -0600 Subject: [PATCH] fix(ci): use Publish environment for all release types npm trusted publishing OIDC tokens must be issued for the same environment configured on npmjs.com. Dry-run was using no environment, causing the OIDC check to fail. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28e5e204f..fb2c5fa6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: name: Release (${{ inputs.type }}) needs: [fast-checks] runs-on: ubuntu-latest - environment: ${{ inputs.type != 'dry-run' && 'Publish' || '' }} + environment: Publish permissions: contents: write issues: write