Skip to content

Commit b7edacf

Browse files
committed
fix: add OIDC permissions to publish jobs
1 parent 6bcbceb commit b7edacf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release-edge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
7070
publish:
7171
needs: prepare
72+
permissions:
73+
contents: read
74+
id-token: write
7275
uses: ./.github/workflows/npm-publish.yml
7376
with:
7477
tag: edge

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@ jobs:
2828
token: ${{ secrets.BOT_TOKEN }}
2929
release-type: node
3030
default-branch: master
31+
package-name: cloudinary-video-player
32+
include-v-in-tag: true
3133

3234
publish:
3335
needs: release
3436
if: ${{ needs.release.outputs.release_created == 'true' }}
37+
permissions:
38+
contents: read
39+
id-token: write
3540
uses: ./.github/workflows/npm-publish.yml
3641

3742
notify:

0 commit comments

Comments
 (0)