fix(ci): grant i18n autofill bot PR comment permission

This commit is contained in:
t8y2 committed 2026-07-15 16:26:32 +08:00
1 parent 7a434b0674
commit c7e9e73786
1 file changed
+3 -1
+3 -1
View File
@@ -11,7 +11,9 @@ on:
permissions: permissions:
contents: write contents: write
issues: write issues: write
pull-requests: read # 需要 write 才能通过 gh pr comment (addComment) 在 PR 上发评论;
# 之前是 read,导致 autofill 成功 push 了翻译 commit 却无法发评论告知作者
pull-requests: write
concurrency: concurrency:
group: i18n-autofill-${{ github.event.pull_request.number }} group: i18n-autofill-${{ github.event.pull_request.number }}