ci:为 update-manifest job 添加仓库写权限
- 在 GitHub Actions 工作流中为 update-manifest job 添加 contents: write权限 - 这个修改是为了确保 job 能够正确更新仓库中的 manifests
This commit is contained in:
parent
14ad5aba68
commit
3e7652eeb2
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user