ci(docker): 为 manifest 更新操作添加 GITHUB_TOKEN

在更新 manifest 时添加 GITHUB_TOKEN以解决权限问题。这个改动解决了在没有适当
权限时无法成功更新 manifest 的问题。
This commit is contained in:
suyiiyii 2025-01-21 20:38:42 +08:00
parent 3e7652eeb2
commit 7a979cd1a0
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -151,6 +151,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: manifest
token: ${{ secrets.GITHUBTOKEN }}
- name: Update manifest
if: github.event_name == 'push'
uses: mikefarah/yq@master
@ -165,3 +166,4 @@ jobs:
commit_user_name: "github-actions[bot]"
commit_user_email: "github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"