Skip to content

Commit 8a2fb86

Browse files
abueideclaude
andauthored
fix(ci): use Publish environment for all release types (#1138)
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 <noreply@anthropic.com>
1 parent a60e0b3 commit 8a2fb86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
name: Release (${{ inputs.type }})
3535
needs: [fast-checks]
3636
runs-on: ubuntu-latest
37-
environment: ${{ inputs.type != 'dry-run' && 'Publish' || '' }}
37+
environment: Publish
3838
permissions:
3939
contents: write
4040
issues: write

0 commit comments

Comments
 (0)