Skip to content

Commit 64502c5

Browse files
committed
👷 Add permissions to NPM publish with provenance
1 parent adbbd8e commit 64502c5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎.github/workflows/covector-version-or-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
actions: write
11+
pull-requests: write
12+
813
jobs:
914
version-or-publish:
1015
runs-on: ubuntu-latest

‎.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
tags:
66
- "interactors-*"
77

8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
813
jobs:
914
publish-to-npm:
1015
name: NPM ${{ github.ref }}

0 commit comments

Comments
 (0)