From 41e5ba90127e18a42963bd161925d1ed14a5d5ff Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Tue, 26 Aug 2025 09:46:56 -0700 Subject: [PATCH] chore: migrate GitHub workflows from @beta to @v1 (#486) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * tmp * chore: migrate GitHub workflows from @beta to @v1 - Update claude.yml and issue-triage.yml to use claude-code-action@v1 - Migrate deprecated inputs to new claude_args format - Move mcp_config to --mcp-config in claude_args - Follow v1 migration guide for simplified configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --------- Co-authored-by: Claude --- .github/workflows/claude.yml | 8 ++++---- .github/workflows/issue-triage.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) 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 }}