fix(ci): grant CLA bot pull-request write permission (#115)

The CLA Assistant workflow had `pull-requests: read`, which prevented
the GITHUB_TOKEN from posting the sign-CLA comment on PRs. Change to
`pull-requests: write` so the bot can comment.

Also removed the `protect-cla-signatures` ruleset (GitHub-side) that
marked the signatures branch as protected, blocking the bot from
pushing signature records.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Zonghao Yuan
2026-06-27 20:04:10 +08:00
committed by GitHub
parent fbd02588a1
commit cb5daf58ce
+1 -1
View File
@@ -21,7 +21,7 @@ on:
# branch-protection required check (cla/cla-assistant.yml) reports against. # branch-protection required check (cla/cla-assistant.yml) reports against.
permissions: permissions:
contents: read contents: read
pull-requests: read pull-requests: write
issues: write issues: write
statuses: write statuses: write