Skip to content

Commit ff8eaed

Browse files
author
Tanjeem Hossain
authored
Merge pull request #327 from BitGo/DX-2085-trusted-publishing
ci: attempt OIDC without specifying environments
2 parents 77bc6b8 + 12a305c commit ff8eaed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Release
22

33
permissions:
4+
# Needed for OIDC Trusted Publishing
5+
id-token: write
6+
# Needed for semantic-release
47
contents: write
58
pull-requests: write
69
issues: write
@@ -18,8 +21,6 @@ on:
1821

1922
jobs:
2023
release:
21-
uses: semantic-release-action/typescript/.github/workflows/release.yml@1d40c29e2d500f3bcceeb13f95d26a3a1b571f51
22-
secrets:
23-
npm-token: ${{ secrets.NPM_TOKEN }}
24+
uses: semantic-release-action/typescript/.github/workflows/release.yml@fd8c4abce3b0710e4e0d0ecf17fdaf2e770d4c82 # v3.2.0-beta.1
2425
with:
2526
disable-semantic-release-git: true

0 commit comments

Comments
 (0)