Skip to content

Commit 1cf4bbc

Browse files
committed
修复: 添加 GitHub Release 创建权限
- 在 workflow job 中添加 permissions: contents: write - 修复 403 权限错误,允许创建 GitHub Release
1 parent 55628c6 commit 1cf4bbc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
1315

1416
steps:
1517
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)