Skip to content

Commit 334dc2a

Browse files
authored
Merge pull request #16157 from rak-phillip/task/components-trusted-provider
Update Rancher Components release to use trusted providers
2 parents 11bd4d1 + 1e01327 commit 334dc2a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release-rancher-components.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
tags:
66
- 'components-v*'
77

8+
permissions:
9+
id-token: write
10+
contents: read
11+
812
jobs:
913
build:
1014
if: ${{ github.repository_owner == 'rancher' }}
1115
runs-on: ubuntu-latest
12-
permissions:
13-
contents: read
14-
packages: write
1516
steps:
1617
- uses: actions/checkout@v6
1718
with:
@@ -46,5 +47,3 @@ jobs:
4647
else
4748
yarn publish:lib
4849
fi
49-
env:
50-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)