Skip to content

Commit b566f04

Browse files
committed
Bump Claude Code GitHub Action to v1
Follow-up to modelcontextprotocol/servers#3018. This PR bumps Claude Code GitHub Action to v1 from beta. https://github.com/anthropics/claude-code-action/releases/tag/v1
1 parent dff91a8 commit b566f04

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/claude.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Run Claude Code
3636
id: claude
37-
uses: anthropics/claude-code-action@beta
37+
uses: anthropics/claude-code-action@v1
3838
with:
3939
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
4040

@@ -45,9 +45,6 @@ jobs:
4545
# Trigger when assigned to an issue
4646
assignee_trigger: "claude"
4747

48-
# Allow Claude to run bash
49-
# This should be safe given the repo is already public
50-
allowed_tools: "Bash"
51-
52-
custom_instructions: |
53-
If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block.
48+
claude_args: |
49+
--allowedTools Bash
50+
--system-prompt "If posting a comment to GitHub, give a concise summary of the comment at the top and put all the details in a <details> block."

0 commit comments

Comments
 (0)