Update publish.yml

Added the permission of git commit and PR creation.
This commit is contained in:
Willem Jiang 2025-02-14 15:18:02 +08:00 committed by gemstone
parent c91aab096f
commit a874e160cf

View File

@ -63,6 +63,10 @@ jobs:
packages/*/es/**
package.json
release_npm:
permissions:
contents: write # support to do the release on branch
pull-requests: write
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: [build]
environment: release