diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f99c9b..1126e34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GH_TOKEN: ${{ secrets.GH_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v4 @@ -29,9 +31,6 @@ jobs: yarn install --frozen-lockfile yarn build - - name: Creates local .npmrc - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc - - name: Prepare Lingui-Bot git account uses: oleksiyrudenko/gha-git-credentials@v2-latest with: