diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 99407a3..b4e80f0 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -31,9 +31,9 @@ jobs: - name: Run Claude Code id: claude - uses: anthropics/claude-code-action@beta + uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - allowed_tools: "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)" - custom_instructions: "You have also been granted tools for editing files and running bun commands (install, run, test, typecheck) for testing your changes: bun install, bun test, bun run format, bun typecheck." - model: "claude-opus-4-1-20250805" + claude_args: | + --allowedTools "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)" + --model "claude-opus-4-1-20250805" diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 5705aa7..8497b23 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -97,12 +97,12 @@ jobs: EOF - name: Run Claude Code for Issue Triage - uses: anthropics/claude-code-base-action@beta + uses: anthropics/claude-code-base-action@v1 with: - prompt_file: /tmp/claude-prompts/triage-prompt.txt - allowed_tools: "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues" - claude_args: | - --mcp-config /tmp/mcp-config/mcp-servers.json + prompt: $(cat /tmp/claude-prompts/triage-prompt.txt) anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + claude_args: | + --allowedTools Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues + --mcp-config /tmp/mcp-config/mcp-servers.json env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}