From 999a75707a70776200b0ef09769625fef48a81ee Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Mon, 15 Sep 2025 15:49:54 +0300 Subject: [PATCH] ci: trusted publishing --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: