Skip to content

Commit c9e9194

Browse files
authored
Update claude.yml
1 parent 88fe218 commit c9e9194

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/claude.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,25 @@ jobs:
3535
with:
3636
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3737

38+
# Pass the comment text as the prompt
39+
prompt: "${{ github.event.comment.body }}"
40+
41+
# Define which tools Claude can use
42+
allowed_tools: |
43+
Bash(git status)
44+
Bash(git log)
45+
Bash(git show)
46+
Bash(git blame)
47+
Bash(git reflog)
48+
Bash(git stash list)
49+
Bash(git ls-files)
50+
Bash(git branch)
51+
Bash(git tag)
52+
Bash(git diff)
53+
View
54+
GlobTool
55+
GrepTool
56+
BatchTool
57+
58+
# Your Anthropic API key (stored as a GitHub secret)
59+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)