Skip to content

Commit c3e02b4

Browse files
authored
Add provenance option to npm publish (#86)
1 parent 085d7ea commit c3e02b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
needs: pack
6565
runs-on: ubuntu-latest
6666
environment: npm
67+
permissions:
68+
id-token: write
6769
env:
6870
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6971
steps:
@@ -76,4 +78,4 @@ jobs:
7678
- uses: actions/setup-node@v3
7779
with:
7880
registry-url: 'https://registry.npmjs.org'
79-
- run: npm publish ./datadog-native-iast-taint-tracking-${{ steps.package.outputs.version }}.tgz
81+
- run: npm publish ./datadog-native-iast-taint-tracking-${{ steps.package.outputs.version }}.tgz --provenance

0 commit comments

Comments
 (0)