From 22c1997ba2c33b68ccf60b4dbbe2d76cbacf6646 Mon Sep 17 00:00:00 2001 From: Kirill Zhumarin Date: Sun, 10 Nov 2024 23:35:42 +0000 Subject: [PATCH] fix permissions --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 318d6fec..d833dc33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,6 +56,10 @@ jobs: needs: prebuild name: Release runs-on: ubuntu-latest + permissions: + contents: write + issues: write + pull-requests: write steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 @@ -69,5 +73,5 @@ jobs: - run: npm run build - run: npm run semantic-release env: - GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}