Skip to content

Commit 21c6252

Browse files
authored
Permission tweaks for npm oidc trusted publishing (#6107)
1 parent 9bb9815 commit 21c6252

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ui-publish-components.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
4343
runs-on: ubuntu-latest
4444
timeout-minutes: 30
45+
permissions:
46+
contents: read
47+
id-token: write
4548
env:
4649
GITHUB_TOKEN: ${{ secrets.GH_PAT_UI }}
4750
steps:
@@ -64,6 +67,7 @@ jobs:
6467
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
6568
with:
6669
node-version-file: .node-version
70+
registry-url: 'https://registry.npmjs.org'
6771
cache: 'pnpm'
6872
cache-dependency-path: ui/pnpm-lock.yaml
6973

0 commit comments

Comments
 (0)