From 65c105500bf79739b71a4aca491d1dcc8046ea7f Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Mon, 29 May 2023 18:17:09 +0800 Subject: [PATCH] chore: grant github token permission --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1224791..0850483 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,14 +10,13 @@ jobs: semantic-release: name: Release runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 - uses: cycjimmy/semantic-release-action@v3 with: branch: main - extra_plugins: | - @semantic-release/changelog - @semantic-release/git env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}