ci: Fix allowed tools in claude-review
Bash(gh:api *) wasn't actually working. Turns out the colon syntax is deprecated and unnecessary. Let's stop using it which also fixes the bug so that gh api calls are allowed now.
This commit is contained in:
@@ -195,10 +195,10 @@ jobs:
|
||||
--max-turns 100
|
||||
--allowedTools "
|
||||
Read,LS,Grep,Glob,Task,TaskStop,
|
||||
Bash(cat:*),Bash(test:*),Bash(printf:*),Bash(jq:*),Bash(head:*),Bash(tail:*),
|
||||
Bash(git:*),Bash(grep:*),Bash(find:*),Bash(ls:*),Bash(wc:*),
|
||||
Bash(gh:api *),
|
||||
Bash(diff:*),Bash(sed:*),Bash(awk:*),Bash(sort:*),Bash(uniq:*),
|
||||
Bash(cat *),Bash(test *),Bash(printf *),Bash(jq *),Bash(head *),Bash(tail *),
|
||||
Bash(git *),Bash(grep *),Bash(find *),Bash(ls *),Bash(wc *),
|
||||
Bash(gh api *),
|
||||
Bash(diff *),Bash(sed *),Bash(awk *),Bash(sort *),Bash(uniq *),
|
||||
"
|
||||
--json-schema '${{ env.REVIEW_SCHEMA }}'
|
||||
prompt: |
|
||||
|
||||
Reference in New Issue
Block a user