From 128e75b9f42b86bd8095cef4f30f92025b999d1d Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 1 Apr 2025 23:37:13 +0100 Subject: [PATCH] devops: fix npm publishing due to proverance (#112) Like [upstream](https://github.com/microsoft/playwright/blob/3ad5c2731a3ccccbd8468ef14a88b1edd45867a4/.github/workflows/publish_release_npm.yml#L15) and in the [docs](https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow). --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e6b02f..be54cec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,9 @@ on: jobs: publish-npm: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4