mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
Merge pull request #3747 from hathach/claude/claude-review-allowtools
ci(claude-review): allowlist the tools /code-review needs
This commit is contained in:
7
.github/workflows/claude-code-review.yml
vendored
7
.github/workflows/claude-code-review.yml
vendored
@ -53,8 +53,15 @@ jobs:
|
||||
# TEMPORARY: expose the full Claude transcript in the Actions log for
|
||||
# debugging. Revert to remove once done.
|
||||
show_full_output: true
|
||||
# The headless review was blocked on two tools: compound Bash pipelines
|
||||
# (sed/python/grep) and Write (it dropped a check_headings.py helper to
|
||||
# inspect the diff). Default permission mode gates both; Read/Grep/Glob/
|
||||
# Task already run un-prompted. Allowlist them. Safe here (unlike
|
||||
# claude.yml's fork-exposed @claude job): same-repo-only + contents:read
|
||||
# token, so any write is ephemeral and nothing can be pushed.
|
||||
claude_args: |
|
||||
--max-turns 50
|
||||
--model claude-opus-4-8
|
||||
--effort max
|
||||
--allowedTools Bash,Write
|
||||
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
|
||||
|
||||
Reference in New Issue
Block a user