Skip to content

Commit c99ea7b

Browse files
authored
chore: updates workflow to enable npm trusted publishing
NPM package publishing will be migrated to use Trusted Publishing (via OIDC).
1 parent 83b58d9 commit c99ea7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: release
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- '[0-9]+.[0-9]+.[0-9]+'
@@ -13,6 +14,9 @@ jobs:
1314
environment:
1415
name: release
1516
url: https://www.npmjs.com/package/@dfinity/typedoc-plugin-icp-docs
17+
permissions:
18+
contents: read
19+
id-token: write
1620
steps:
1721
- name: Checkout Code
1822
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)