mirror of
https://github.com/bytedance/xgplayer.git
synced 2025-04-05 03:05:02 +08:00
Update publish.yml
Added the permission of git commit and PR creation.
This commit is contained in:
parent
c91aab096f
commit
a874e160cf
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -63,6 +63,10 @@ jobs:
|
|||||||
packages/*/es/**
|
packages/*/es/**
|
||||||
package.json
|
package.json
|
||||||
release_npm:
|
release_npm:
|
||||||
|
permissions:
|
||||||
|
contents: write # support to do the release on branch
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
needs: [build]
|
needs: [build]
|
||||||
environment: release
|
environment: release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user