Skip to content

Commit a7cf63d

Browse files
ci: added write permission for building script
1 parent cc13471 commit a7cf63d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: '0 4 * * *' # 每天北京时间时间中午12点
66
workflow_dispatch:
77

8+
permissions: # 显式指定权限
9+
contents: write
10+
811
jobs:
912
update-file:
1013
runs-on: windows-latest

0 commit comments

Comments
 (0)