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

This commit is contained in:
t8y2 2026-07-15 16:26:32 +08:00
parent 7a434b0674
commit c7e9e73786
1 changed files with 3 additions and 1 deletions

View File

@ -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 }}