mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-09 18:23:40 +08:00
fix: workflows permission
This commit is contained in:
1
.github/workflows/sync-upstream.yml
vendored
1
.github/workflows/sync-upstream.yml
vendored
@@ -11,6 +11,7 @@ jobs:
|
||||
permissions: # 添加必要的权限
|
||||
pull-requests: write
|
||||
contents: write
|
||||
workflows: write # 添加 workflows 权限
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user