Skip to content

Commit 5ce2ba1

Browse files
Copilotquantizor
andauthored
Use npm OIDC trusted publishing in release workflow (#759)
* Initial plan * Update release workflow to use npm OIDC trusted publishing Co-authored-by: quantizor <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: quantizor <[email protected]>
1 parent 08dfe8a commit 5ce2ba1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1010
jobs:
1111
release:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
id-token: write
1317
steps:
1418
- uses: actions/checkout@v4
1519

@@ -29,7 +33,6 @@ jobs:
2933
uses: changesets/action@v1
3034
env:
3135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3336
with:
3437
createGithubReleases: true
3538
publish: bun run changeset-publish

0 commit comments

Comments
 (0)