From c7e9e737860ff52def46aee2bc952ca8114ccf2c Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Wed, 15 Jul 2026 16:26:32 +0800 Subject: [PATCH] fix(ci): grant i18n autofill bot PR comment permission --- .github/workflows/i18n-autofill.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/i18n-autofill.yml b/.github/workflows/i18n-autofill.yml index 198cbd41e..6eb245271 100644 --- a/.github/workflows/i18n-autofill.yml +++ b/.github/workflows/i18n-autofill.yml @@ -11,7 +11,9 @@ on: permissions: contents: write issues: write - pull-requests: read + # 需要 write 才能通过 gh pr comment (addComment) 在 PR 上发评论; + # 之前是 read,导致 autofill 成功 push 了翻译 commit 却无法发评论告知作者 + pull-requests: write concurrency: group: i18n-autofill-${{ github.event.pull_request.number }}