Skip to content

Commit 06051ff

Browse files
committed
ci: Add missing npm scope to publish workflow
Authentication via OIDC for NPM's trusted publishing needs to explicitly define scope if it doesn't match the repository owner. This is the case here because the repository owner is eclipsesource.
1 parent 799733f commit 06051ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
with:
4242
node-version: '22'
4343
registry-url: 'https://registry.npmjs.org'
44+
scope: '@jsonforms' # ensure OIDC token is tied to the scope
4445

4546
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
4647
name: Install pnpm

0 commit comments

Comments
 (0)