diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfbecfc..e0a961e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,11 @@ on: push: branches: [ main, beta ] +permissions: + contents: write + issues: write + pull-requests: write + jobs: release: name: Release @@ -21,6 +26,6 @@ jobs: - run: npm run build - name: Release env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release