Skip to content

Commit 37c0fc4

Browse files
Merge pull request #34 from BitGo/DX-2084-trusted-publishing
ci: modify release.yaml to work with npm Trusted Publishing
2 parents ebd9c78 + 26a0b02 commit 37c0fc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: Release
33

44
permissions:
5+
# Needed for npm Trusted Publishing
6+
id-token: write
57
# Needed for semantic-release
68
contents: write
79
pull-requests: write
@@ -22,6 +24,6 @@ jobs:
2224
release:
2325
uses: semantic-release-action/typescript/.github/workflows/release.yml@1d40c29e2d500f3bcceeb13f95d26a3a1b571f51 # v3.0.20
2426
secrets:
25-
npm-token: ${{ secrets.NPM_TOKEN }}
27+
npm-token: "FAKE_NPM_TOKEN_FOR_SEMANTIC_RELEASE"
2628
with:
2729
disable-semantic-release-git: true

0 commit comments

Comments
 (0)