Skip to content

Commit 3efb373

Browse files
committed
Fixing claude code permissions.
Fixes ai4curation/aidocs#39
1 parent d583c25 commit 3efb373

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

copier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ project_slug:
3131
{% endif %}
3232
3333
github_handle:
34-
help: github username of the author. Will be assigned as a-controller
34+
help: github username of the author. Will be assigned as ai-controller
3535
type: str
3636
default: "cmungall"
3737

template/.claude/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(*)",
5+
"Edit",
6+
"MultiEdit",
7+
"NotebookEdit",
8+
"FileEdit",
9+
"WebFetch",
10+
"WebSearch",
11+
"Write"
12+
]
13+
}
14+
}

template/.github/workflows/dragon-ai.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
183183
# Run Claude with proper permissions
184184
claude -p "$(cat /tmp/claude-input/claude_prompt.txt)" \
185+
--permission-mode bypassPermissions \
185186
--output-format stream-json \
186-
--allowedTools "Bash(git:*)" "Bash(gh:*)" "FileSystem(*)" \
187187
--verbose
188188

0 commit comments

Comments
 (0)