Skip to content

Commit 7efeb2a

Browse files
ci: generate npm provenance statements when publishing (#2308)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
1 parent 85ca5f1 commit 7efeb2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ name: Run Release Please
77
jobs:
88
release-please:
99
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
1012
steps:
1113
# The logic below handles the npm publication:
1214
- name: Checkout Repository
@@ -75,4 +77,5 @@ jobs:
7577
if: ${{ steps.release.outputs.releases_created }}
7678
env:
7779
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
80+
NPM_CONFIG_PROVENANCE: true
7881
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes

0 commit comments

Comments
 (0)