From 3e7652eeb20ddeb0a6a87da1b5a24e3126d6a097 Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Tue, 21 Jan 2025 20:28:24 +0800 Subject: [PATCH] =?UTF-8?q?ci:=E4=B8=BA=20update-manifest=20job=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=93=E5=BA=93=E5=86=99=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 GitHub Actions 工作流中为 update-manifest job 添加 contents: write权限 - 这个修改是为了确保 job 能够正确更新仓库中的 manifests --- .github/workflows/docker-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index fda2ee3..45642b0 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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'