From 654392bcfd884eae0de42b5db2585569f4ddd2a2 Mon Sep 17 00:00:00 2001 From: Fabien Bernard Date: Fri, 17 Oct 2025 10:39:06 +0200 Subject: [PATCH] chore: Use oidc for release-please (npm auth) --- .github/workflows/release-please.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 4487525c..20029c08 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -6,6 +6,7 @@ on: permissions: contents: write pull-requests: write + id-token: write name: Run Release Please jobs: @@ -42,6 +43,4 @@ jobs: # See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package - name: Publish to NPM if: ${{ steps.release.outputs.releases_created }} - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: npx lerna publish from-package --no-push --no-private --no-verify-access --yes