Skip to content

Commit 166fd94

Browse files
chore: generate provenance statements on release (#14119)
* chore: generate provenance statements on release * Update .github/workflows/release.yml --------- Co-authored-by: Matt Brophy <[email protected]>
1 parent 10c8a7e commit 166fd94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
outputs:
2222
published_packages: ${{ steps.changesets.outputs.publishedPackages }}
2323
published: ${{ steps.changesets.outputs.published }}
24+
permissions:
25+
id-token: write # enable generation of an ID token for publishing
2426
steps:
2527
- name: ⬇️ Checkout repo
2628
uses: actions/checkout@v4
@@ -62,6 +64,7 @@ jobs:
6264
createGithubReleases: false
6365
env:
6466
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67+
NPM_CONFIG_PROVENANCE: true
6568
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6669

6770
find_package_version:

0 commit comments

Comments
 (0)