Merge pull request #921 from koic/bump_claude_code_github_action_to_v1
Bump Claude Code GitHub Action to v1
This commit is contained in:
commit
4e431c9c24
1 changed files with 4 additions and 7 deletions
11
.github/workflows/claude.yml
vendored
11
.github/workflows/claude.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run Claude Code
|
- name: Run Claude Code
|
||||||
id: claude
|
id: claude
|
||||||
uses: anthropics/claude-code-action@beta
|
uses: anthropics/claude-code-action@v1
|
||||||
with:
|
with:
|
||||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
|
|
||||||
|
|
@ -45,9 +45,6 @@ jobs:
|
||||||
# Trigger when assigned to an issue
|
# Trigger when assigned to an issue
|
||||||
assignee_trigger: "claude"
|
assignee_trigger: "claude"
|
||||||
|
|
||||||
# Allow Claude to run bash
|
claude_args: |
|
||||||
# This should be safe given the repo is already public
|
--allowedTools Bash
|
||||||
allowed_tools: "Bash"
|
--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."
|
||||||
|
|
||||||
custom_instructions: |
|
|
||||||
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.
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue