ci:为 update-manifest job 添加仓库写权限

- 在 GitHub Actions 工作流中为 update-manifest job 添加 contents: write权限
- 这个修改是为了确保 job 能够正确更新仓库中的 manifests
This commit is contained in:
suyiiyii 2025-01-21 20:28:24 +08:00
parent 14ad5aba68
commit 3e7652eeb2
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -143,6 +143,8 @@ jobs:
update-manifest:
runs-on: ubuntu-latest
needs: ["build"]
permissions:
contents: write
steps:
- name: Checkout manifest
if: github.event_name == 'push'