github: add actions: read permission for CI status in claude-code-review

The claude-code-action uses mcp__github_ci__get_ci_status and related
tools to check workflow run status as part of the review. Without
actions: read the GitHub API calls for CI status are rejected.

Fixes: c0e75c9de6 ("github: add Claude code review workflow triggered by /claude comment")
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 122b2f2ef5)
Link: https://github.com/openwrt/openwrt/pull/24318
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Hauke Mehrtens authored and Christian Marangi committed 2026-07-20 12:52:22 +02:00
1 parent eb680551f2
commit dbef2c036e
1 file changed
+1
+1
View File
@@ -7,6 +7,7 @@ on:
permissions:
contents: read
pull-requests: write
actions: read
jobs:
code-review: