Skip to content

Commit a3b3c5f

Browse files
committed
chore: Fix publish sdk workflow
1 parent 25d25d5 commit a3b3c5f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/publish-js-sdk.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ jobs:
185185
prerelease-snapshot:
186186
if: github.event_name == 'workflow_dispatch' && inputs.release_mode == 'prerelease'
187187
uses: ./.github/workflows/_run-js-release-mode.yaml
188+
permissions:
189+
actions: read
190+
contents: read
191+
id-token: write
188192
secrets: inherit
189193
with:
190194
mode: prerelease
@@ -201,6 +205,10 @@ jobs:
201205
canary-snapshot:
202206
if: github.event_name == 'workflow_dispatch' && inputs.release_mode == 'canary'
203207
uses: ./.github/workflows/_run-js-release-mode.yaml
208+
permissions:
209+
actions: read
210+
contents: read
211+
id-token: write
204212
secrets: inherit
205213
with:
206214
mode: canary
@@ -218,6 +226,10 @@ jobs:
218226
dry-run-canary:
219227
if: github.event_name == 'workflow_dispatch' && inputs.release_mode == 'dry-run-canary'
220228
uses: ./.github/workflows/_run-js-release-mode.yaml
229+
permissions:
230+
actions: read
231+
contents: read
232+
id-token: write
221233
secrets: inherit
222234
with:
223235
mode: dry-run-canary
@@ -229,6 +241,10 @@ jobs:
229241
dry-run-stable:
230242
if: github.event_name == 'workflow_dispatch' && inputs.release_mode == 'dry-run-stable'
231243
uses: ./.github/workflows/_run-js-release-mode.yaml
244+
permissions:
245+
actions: read
246+
contents: read
247+
id-token: write
232248
secrets: inherit
233249
with:
234250
mode: dry-run-stable
@@ -240,6 +256,10 @@ jobs:
240256
dry-run-prerelease:
241257
if: github.event_name == 'workflow_dispatch' && inputs.release_mode == 'dry-run-prerelease'
242258
uses: ./.github/workflows/_run-js-release-mode.yaml
259+
permissions:
260+
actions: read
261+
contents: read
262+
id-token: write
243263
secrets: inherit
244264
with:
245265
mode: dry-run-prerelease

0 commit comments

Comments
 (0)