From 49ad136e3b22bcd6a072e3045c98516f7c8589c6 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Mon, 17 Nov 2025 13:38:13 +0000 Subject: [PATCH] Update Claude Code GitHub Action from beta to v1 Updates the Claude Code GitHub Action to use the stable v1 release instead of the beta version. Migrates configuration to the new format: - Updates action version from @beta to @v1 - Replaces allowed_tools with claude_args: --allowedTools - Replaces custom_instructions with claude_args: --system-prompt - Retains additional_permissions and assignee_trigger (still supported in v1) --- .github/workflows/claude.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 29c3a6c0..eeac0f1b 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -32,7 +32,7 @@ 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 }} @@ -42,10 +42,7 @@ jobs: # Trigger when assigned to an issue assignee_trigger: "claude" - - # Allow Claude to run bash - # This should be safe given the repo is already public - allowed_tools: "Bash" - - 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
block. + + claude_args: | + --allowedTools 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
block."