Skip to content

Commit dbc50df

Browse files
committed
Give the Claude action for @-mentions very broad permissions
1 parent 9afb059 commit dbc50df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
# Optional: Trigger when specific user is assigned to an issue
6363
assignee_trigger: "claude-bot"
6464

65-
# Optional: Allow Claude to run specific commands
66-
allowed_tools: "Bash(opam exec),Bash(dune build),Bash(dune test),Bash(dune exec),Bash(dune runtest)"
65+
# Allow Claude to run all opam and dune commands
66+
allowed_tools: "Bash(opam:*),Bash(dune:*),Bash(git checkout:*),Bash(find:*),Bash(grep:*),Bash(ls:*),Bash(cat:*),Bash(mv:*),Bash(cp:*),Bash(cc:*),Bash(git check-ignore:*),Bash(git config:*)"
6767

6868
# Optional: Add custom instructions for Claude to customize its behavior for your project
6969
custom_instructions: |

0 commit comments

Comments
 (0)