From e26f78067fec9bc566b893766803f17ec1328a83 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Wed, 15 Oct 2025 13:21:47 +0100 Subject: [PATCH] chore: enable OIDC --- .github/workflows/release-please.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 7df34ab..6b77769 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -5,6 +5,10 @@ on: branches: - main +permissions: + id-token: write # Required for OIDC + contents: read + jobs: release-please: runs-on: ubuntu-latest @@ -26,8 +30,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: lts/* + node-version: 24 registry-url: 'https://registry.npmjs.org' - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}