Skip to content

Commit cd0b178

Browse files
build: 增加GitHub Actions权限配置
1 parent 12b8e56 commit cd0b178

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/github.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
packages: write
15+
id-token: write
1216

1317
steps:
1418
# 检出代码

0 commit comments

Comments
 (0)