diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b9bcae..c79f10f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,9 @@ jobs: name: Release needs: check if: needs.check.outputs.workflow == 'release' + permissions: + contents: write + id-token: write steps: - name: Checkout the repository uses: actions/checkout@v7 @@ -51,7 +54,6 @@ jobs: with: node-version: 24 cache: 'pnpm' - registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install - name: Release @@ -59,4 +61,3 @@ jobs: with: workflow: release github-token: ${{ secrets.GITHUB_TOKEN }} - npm-token: ${{ secrets.NPM_TOKEN }}