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:
Daan De Meyer
2026-03-17 19:46:31 +01:00
parent fb292e18d8
commit b54d61e00b
+4 -4
View File
@@ -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: |