From 05540320adc6267d8f06a009591c6682ca91f3cb Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 7 Feb 2026 21:59:11 +0000 Subject: [PATCH 1/4] Update claude-opus-4-5 to claude-opus-4-6 in workflow --- .github/workflows/claude.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index b567dacff..3abb46f69 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -36,4 +36,4 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} claude_args: | --allowedTools "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)" - --model "claude-opus-4-5" + --model "claude-opus-4-6" From 06709f6b5458c791cfb7af47bbd6277e30b7a875 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 7 Feb 2026 21:59:50 +0000 Subject: [PATCH 2/4] Fix whitespace formatting in docs and commands --- .claude/commands/label-issue.md | 3 --- base-action/CONTRIBUTING.md | 1 - base-action/README.md | 41 ++++++++++++++++----------------- docs/configuration.md | 1 - docs/migration-guide.md | 2 -- docs/security.md | 2 -- docs/setup.md | 9 -------- 7 files changed, 20 insertions(+), 39 deletions(-) diff --git a/.claude/commands/label-issue.md b/.claude/commands/label-issue.md index 1344c5cdb..7a3abfeaa 100644 --- a/.claude/commands/label-issue.md +++ b/.claude/commands/label-issue.md @@ -17,7 +17,6 @@ TASK OVERVIEW: 1. First, fetch the list of labels available in this repository by running: `gh label list`. Run exactly this command with nothing else. 2. Next, use gh commands to get context about the issue: - - Use `gh issue view ${{ github.event.issue.number }}` to retrieve the current issue's details - Use `gh search issues` to find similar issues that might provide context for proper categorization - You have access to these Bash commands: @@ -27,7 +26,6 @@ TASK OVERVIEW: - Bash(gh search:\*) - to search for similar issues 3. Analyze the issue content, considering: - - The issue title and description - The type of issue (bug report, feature request, question, etc.) - Technical areas mentioned @@ -36,7 +34,6 @@ TASK OVERVIEW: - Components affected 4. Select appropriate labels from the available labels list provided above: - - Choose labels that accurately reflect the issue's nature - Be specific but comprehensive - IMPORTANT: Add a priority label (P1, P2, or P3) based on the label descriptions from gh label list diff --git a/base-action/CONTRIBUTING.md b/base-action/CONTRIBUTING.md index 4dc259263..4ab35815e 100644 --- a/base-action/CONTRIBUTING.md +++ b/base-action/CONTRIBUTING.md @@ -57,7 +57,6 @@ Thank you for your interest in contributing to Claude Code Base Action! This doc ``` This script: - - Installs `act` if not present (requires Homebrew on macOS) - Runs the GitHub Action workflow locally using Docker - Requires your `ANTHROPIC_API_KEY` to be set diff --git a/base-action/README.md b/base-action/README.md index 495ebf6fb..6fdbe06f6 100644 --- a/base-action/README.md +++ b/base-action/README.md @@ -85,26 +85,26 @@ Add the following to your workflow file: ## Inputs -| Input | Description | Required | Default | -| ------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- | -| `prompt` | The prompt to send to Claude Code | No\* | '' | -| `prompt_file` | Path to a file containing the prompt to send to Claude Code | No\* | '' | -| `allowed_tools` | Comma-separated list of allowed tools for Claude Code to use | No | '' | -| `disallowed_tools` | Comma-separated list of disallowed tools that Claude Code cannot use | No | '' | -| `max_turns` | Maximum number of conversation turns (default: no limit) | No | '' | -| `mcp_config` | Path to the MCP configuration JSON file, or MCP configuration JSON string | No | '' | -| `settings` | Path to Claude Code settings JSON file, or settings JSON string | No | '' | -| `system_prompt` | Override system prompt | No | '' | -| `append_system_prompt` | Append to system prompt | No | '' | -| `claude_env` | Custom environment variables to pass to Claude Code execution (YAML multiline format) | No | '' | -| `model` | Model to use (provider-specific format required for Bedrock/Vertex) | No | 'claude-4-0-sonnet-20250219' | -| `anthropic_model` | DEPRECATED: Use 'model' instead | No | 'claude-4-0-sonnet-20250219' | -| `fallback_model` | Enable automatic fallback to specified model when default model is overloaded | No | '' | -| `anthropic_api_key` | Anthropic API key (required for direct Anthropic API) | No | '' | -| `claude_code_oauth_token` | Claude Code OAuth token (alternative to anthropic_api_key) | No | '' | -| `use_bedrock` | Use Amazon Bedrock with OIDC authentication instead of direct Anthropic API | No | 'false' | -| `use_vertex` | Use Google Vertex AI with OIDC authentication instead of direct Anthropic API | No | 'false' | -| `use_node_cache` | Whether to use Node.js dependency caching (set to true only for Node.js projects with lock files) | No | 'false' | +| Input | Description | Required | Default | +| ------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- | +| `prompt` | The prompt to send to Claude Code | No\* | '' | +| `prompt_file` | Path to a file containing the prompt to send to Claude Code | No\* | '' | +| `allowed_tools` | Comma-separated list of allowed tools for Claude Code to use | No | '' | +| `disallowed_tools` | Comma-separated list of disallowed tools that Claude Code cannot use | No | '' | +| `max_turns` | Maximum number of conversation turns (default: no limit) | No | '' | +| `mcp_config` | Path to the MCP configuration JSON file, or MCP configuration JSON string | No | '' | +| `settings` | Path to Claude Code settings JSON file, or settings JSON string | No | '' | +| `system_prompt` | Override system prompt | No | '' | +| `append_system_prompt` | Append to system prompt | No | '' | +| `claude_env` | Custom environment variables to pass to Claude Code execution (YAML multiline format) | No | '' | +| `model` | Model to use (provider-specific format required for Bedrock/Vertex) | No | 'claude-4-0-sonnet-20250219' | +| `anthropic_model` | DEPRECATED: Use 'model' instead | No | 'claude-4-0-sonnet-20250219' | +| `fallback_model` | Enable automatic fallback to specified model when default model is overloaded | No | '' | +| `anthropic_api_key` | Anthropic API key (required for direct Anthropic API) | No | '' | +| `claude_code_oauth_token` | Claude Code OAuth token (alternative to anthropic_api_key) | No | '' | +| `use_bedrock` | Use Amazon Bedrock with OIDC authentication instead of direct Anthropic API | No | 'false' | +| `use_vertex` | Use Google Vertex AI with OIDC authentication instead of direct Anthropic API | No | 'false' | +| `use_node_cache` | Whether to use Node.js dependency caching (set to true only for Node.js projects with lock files) | No | 'false' | | `show_full_output` | Show full JSON output (⚠️ May expose secrets - see [security docs](../docs/security.md#️-full-output-security-warning)) | No | 'false'\*\* | \*Either `prompt` or `prompt_file` must be provided, but not both. @@ -490,7 +490,6 @@ This example shows how to use OIDC authentication with GCP Vertex AI: To securely use your Anthropic API key: 1. Add your API key as a repository secret: - - Go to your repository's Settings - Navigate to "Secrets and variables" → "Actions" - Click "New repository secret" diff --git a/docs/configuration.md b/docs/configuration.md index eb352b349..23c42af37 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -116,7 +116,6 @@ The `additional_permissions` input allows Claude to access GitHub Actions workfl To allow Claude to view workflow run results, job logs, and CI status: 1. **Grant the necessary permission to your GitHub token**: - - When using the default `GITHUB_TOKEN`, add the `actions: read` permission to your workflow: ```yaml diff --git a/docs/migration-guide.md b/docs/migration-guide.md index 0d57a9c16..464e36359 100644 --- a/docs/migration-guide.md +++ b/docs/migration-guide.md @@ -228,12 +228,10 @@ jobs: The action now automatically detects the appropriate mode: 1. **If `prompt` is provided** → Runs in **automation mode** - - Executes immediately without waiting for @claude mentions - Perfect for scheduled tasks, PR automation, etc. 2. **If no `prompt` but @claude is mentioned** → Runs in **interactive mode** - - Waits for and responds to @claude mentions - Creates tracking comments with progress diff --git a/docs/security.md b/docs/security.md index d36f06122..34c47b0c6 100644 --- a/docs/security.md +++ b/docs/security.md @@ -85,14 +85,12 @@ Commits will show as verified and attributed to the GitHub account that owns the ``` 2. Add the **public key** to your GitHub account: - - Go to GitHub → Settings → SSH and GPG keys - Click "New SSH key" - Select **Key type: Signing Key** (important) - Paste the contents of `~/.ssh/signing_key.pub` 3. Add the **private key** to your repository secrets: - - Go to your repo → Settings → Secrets and variables → Actions - Create a new secret named `SSH_SIGNING_KEY` - Paste the contents of `~/.ssh/signing_key` diff --git a/docs/setup.md b/docs/setup.md index e0c7f56c8..5c61c9f5e 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -31,27 +31,23 @@ The fastest way to create a custom GitHub App is using our pre-configured manife **🚀 [Download the Quick Setup Tool](./create-app.html)** (Right-click → "Save Link As" or "Download Linked File") After downloading, open `create-app.html` in your web browser: - - **For Personal Accounts:** Click the "Create App for Personal Account" button - **For Organizations:** Enter your organization name and click "Create App for Organization" The tool will automatically configure all required permissions and submit the manifest. Alternatively, you can use the manifest file directly: - - Use the [`github-app-manifest.json`](../github-app-manifest.json) file from this repository - Visit https://github.com/settings/apps/new (for personal) or your organization's app settings - Look for the "Create from manifest" option and paste the JSON content 2. **Complete the creation flow:** - - GitHub will show you a preview of the app configuration - Confirm the app name (you can customize it) - Click "Create GitHub App" - The app will be created with all required permissions automatically configured 3. **Generate and download a private key:** - - After creating the app, you'll be redirected to the app settings - Scroll down to "Private keys" - Click "Generate a private key" @@ -64,7 +60,6 @@ The fastest way to create a custom GitHub App is using our pre-configured manife If you prefer to configure the app manually or need custom permissions: 1. **Create a new GitHub App:** - - Go to https://github.com/settings/apps (for personal apps) or your organization's settings - Click "New GitHub App" - Configure the app with these minimum permissions: @@ -77,19 +72,16 @@ If you prefer to configure the app manually or need custom permissions: - Create the app 2. **Generate and download a private key:** - - After creating the app, scroll down to "Private keys" - Click "Generate a private key" - Download the `.pem` file (keep this secure!) 3. **Install the app on your repository:** - - Go to the app's settings page - Click "Install App" - Select the repositories where you want to use Claude 4. **Add the app credentials to your repository secrets:** - - Go to your repository's Settings → Secrets and variables → Actions - Add these secrets: - `APP_ID`: Your GitHub App's ID (found in the app settings) @@ -138,7 +130,6 @@ For more information on creating GitHub Apps, see the [GitHub documentation](htt To securely use your Anthropic API key: 1. Add your API key as a repository secret: - - Go to your repository's Settings - Navigate to "Secrets and variables" → "Actions" - Click "New repository secret" From 2125751e5a5ab4226f9323b88e84e587fc09288d Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Sat, 7 Feb 2026 14:11:45 -0800 Subject: [PATCH 3/4] Fix whitespace formatting in docs and commands --- .claude/commands/label-issue.md | 3 +++ base-action/CONTRIBUTING.md | 1 + base-action/README.md | 41 +++++++++++++++++---------------- docs/configuration.md | 1 + docs/migration-guide.md | 2 ++ docs/security.md | 2 ++ docs/setup.md | 9 ++++++++ 7 files changed, 39 insertions(+), 20 deletions(-) diff --git a/.claude/commands/label-issue.md b/.claude/commands/label-issue.md index 7a3abfeaa..1344c5cdb 100644 --- a/.claude/commands/label-issue.md +++ b/.claude/commands/label-issue.md @@ -17,6 +17,7 @@ TASK OVERVIEW: 1. First, fetch the list of labels available in this repository by running: `gh label list`. Run exactly this command with nothing else. 2. Next, use gh commands to get context about the issue: + - Use `gh issue view ${{ github.event.issue.number }}` to retrieve the current issue's details - Use `gh search issues` to find similar issues that might provide context for proper categorization - You have access to these Bash commands: @@ -26,6 +27,7 @@ TASK OVERVIEW: - Bash(gh search:\*) - to search for similar issues 3. Analyze the issue content, considering: + - The issue title and description - The type of issue (bug report, feature request, question, etc.) - Technical areas mentioned @@ -34,6 +36,7 @@ TASK OVERVIEW: - Components affected 4. Select appropriate labels from the available labels list provided above: + - Choose labels that accurately reflect the issue's nature - Be specific but comprehensive - IMPORTANT: Add a priority label (P1, P2, or P3) based on the label descriptions from gh label list diff --git a/base-action/CONTRIBUTING.md b/base-action/CONTRIBUTING.md index 4ab35815e..4dc259263 100644 --- a/base-action/CONTRIBUTING.md +++ b/base-action/CONTRIBUTING.md @@ -57,6 +57,7 @@ Thank you for your interest in contributing to Claude Code Base Action! This doc ``` This script: + - Installs `act` if not present (requires Homebrew on macOS) - Runs the GitHub Action workflow locally using Docker - Requires your `ANTHROPIC_API_KEY` to be set diff --git a/base-action/README.md b/base-action/README.md index 6fdbe06f6..495ebf6fb 100644 --- a/base-action/README.md +++ b/base-action/README.md @@ -85,26 +85,26 @@ Add the following to your workflow file: ## Inputs -| Input | Description | Required | Default | -| ------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- | -| `prompt` | The prompt to send to Claude Code | No\* | '' | -| `prompt_file` | Path to a file containing the prompt to send to Claude Code | No\* | '' | -| `allowed_tools` | Comma-separated list of allowed tools for Claude Code to use | No | '' | -| `disallowed_tools` | Comma-separated list of disallowed tools that Claude Code cannot use | No | '' | -| `max_turns` | Maximum number of conversation turns (default: no limit) | No | '' | -| `mcp_config` | Path to the MCP configuration JSON file, or MCP configuration JSON string | No | '' | -| `settings` | Path to Claude Code settings JSON file, or settings JSON string | No | '' | -| `system_prompt` | Override system prompt | No | '' | -| `append_system_prompt` | Append to system prompt | No | '' | -| `claude_env` | Custom environment variables to pass to Claude Code execution (YAML multiline format) | No | '' | -| `model` | Model to use (provider-specific format required for Bedrock/Vertex) | No | 'claude-4-0-sonnet-20250219' | -| `anthropic_model` | DEPRECATED: Use 'model' instead | No | 'claude-4-0-sonnet-20250219' | -| `fallback_model` | Enable automatic fallback to specified model when default model is overloaded | No | '' | -| `anthropic_api_key` | Anthropic API key (required for direct Anthropic API) | No | '' | -| `claude_code_oauth_token` | Claude Code OAuth token (alternative to anthropic_api_key) | No | '' | -| `use_bedrock` | Use Amazon Bedrock with OIDC authentication instead of direct Anthropic API | No | 'false' | -| `use_vertex` | Use Google Vertex AI with OIDC authentication instead of direct Anthropic API | No | 'false' | -| `use_node_cache` | Whether to use Node.js dependency caching (set to true only for Node.js projects with lock files) | No | 'false' | +| Input | Description | Required | Default | +| ------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- | +| `prompt` | The prompt to send to Claude Code | No\* | '' | +| `prompt_file` | Path to a file containing the prompt to send to Claude Code | No\* | '' | +| `allowed_tools` | Comma-separated list of allowed tools for Claude Code to use | No | '' | +| `disallowed_tools` | Comma-separated list of disallowed tools that Claude Code cannot use | No | '' | +| `max_turns` | Maximum number of conversation turns (default: no limit) | No | '' | +| `mcp_config` | Path to the MCP configuration JSON file, or MCP configuration JSON string | No | '' | +| `settings` | Path to Claude Code settings JSON file, or settings JSON string | No | '' | +| `system_prompt` | Override system prompt | No | '' | +| `append_system_prompt` | Append to system prompt | No | '' | +| `claude_env` | Custom environment variables to pass to Claude Code execution (YAML multiline format) | No | '' | +| `model` | Model to use (provider-specific format required for Bedrock/Vertex) | No | 'claude-4-0-sonnet-20250219' | +| `anthropic_model` | DEPRECATED: Use 'model' instead | No | 'claude-4-0-sonnet-20250219' | +| `fallback_model` | Enable automatic fallback to specified model when default model is overloaded | No | '' | +| `anthropic_api_key` | Anthropic API key (required for direct Anthropic API) | No | '' | +| `claude_code_oauth_token` | Claude Code OAuth token (alternative to anthropic_api_key) | No | '' | +| `use_bedrock` | Use Amazon Bedrock with OIDC authentication instead of direct Anthropic API | No | 'false' | +| `use_vertex` | Use Google Vertex AI with OIDC authentication instead of direct Anthropic API | No | 'false' | +| `use_node_cache` | Whether to use Node.js dependency caching (set to true only for Node.js projects with lock files) | No | 'false' | | `show_full_output` | Show full JSON output (⚠️ May expose secrets - see [security docs](../docs/security.md#️-full-output-security-warning)) | No | 'false'\*\* | \*Either `prompt` or `prompt_file` must be provided, but not both. @@ -490,6 +490,7 @@ This example shows how to use OIDC authentication with GCP Vertex AI: To securely use your Anthropic API key: 1. Add your API key as a repository secret: + - Go to your repository's Settings - Navigate to "Secrets and variables" → "Actions" - Click "New repository secret" diff --git a/docs/configuration.md b/docs/configuration.md index 23c42af37..eb352b349 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -116,6 +116,7 @@ The `additional_permissions` input allows Claude to access GitHub Actions workfl To allow Claude to view workflow run results, job logs, and CI status: 1. **Grant the necessary permission to your GitHub token**: + - When using the default `GITHUB_TOKEN`, add the `actions: read` permission to your workflow: ```yaml diff --git a/docs/migration-guide.md b/docs/migration-guide.md index 464e36359..0d57a9c16 100644 --- a/docs/migration-guide.md +++ b/docs/migration-guide.md @@ -228,10 +228,12 @@ jobs: The action now automatically detects the appropriate mode: 1. **If `prompt` is provided** → Runs in **automation mode** + - Executes immediately without waiting for @claude mentions - Perfect for scheduled tasks, PR automation, etc. 2. **If no `prompt` but @claude is mentioned** → Runs in **interactive mode** + - Waits for and responds to @claude mentions - Creates tracking comments with progress diff --git a/docs/security.md b/docs/security.md index 34c47b0c6..d36f06122 100644 --- a/docs/security.md +++ b/docs/security.md @@ -85,12 +85,14 @@ Commits will show as verified and attributed to the GitHub account that owns the ``` 2. Add the **public key** to your GitHub account: + - Go to GitHub → Settings → SSH and GPG keys - Click "New SSH key" - Select **Key type: Signing Key** (important) - Paste the contents of `~/.ssh/signing_key.pub` 3. Add the **private key** to your repository secrets: + - Go to your repo → Settings → Secrets and variables → Actions - Create a new secret named `SSH_SIGNING_KEY` - Paste the contents of `~/.ssh/signing_key` diff --git a/docs/setup.md b/docs/setup.md index 5c61c9f5e..e0c7f56c8 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -31,23 +31,27 @@ The fastest way to create a custom GitHub App is using our pre-configured manife **🚀 [Download the Quick Setup Tool](./create-app.html)** (Right-click → "Save Link As" or "Download Linked File") After downloading, open `create-app.html` in your web browser: + - **For Personal Accounts:** Click the "Create App for Personal Account" button - **For Organizations:** Enter your organization name and click "Create App for Organization" The tool will automatically configure all required permissions and submit the manifest. Alternatively, you can use the manifest file directly: + - Use the [`github-app-manifest.json`](../github-app-manifest.json) file from this repository - Visit https://github.com/settings/apps/new (for personal) or your organization's app settings - Look for the "Create from manifest" option and paste the JSON content 2. **Complete the creation flow:** + - GitHub will show you a preview of the app configuration - Confirm the app name (you can customize it) - Click "Create GitHub App" - The app will be created with all required permissions automatically configured 3. **Generate and download a private key:** + - After creating the app, you'll be redirected to the app settings - Scroll down to "Private keys" - Click "Generate a private key" @@ -60,6 +64,7 @@ The fastest way to create a custom GitHub App is using our pre-configured manife If you prefer to configure the app manually or need custom permissions: 1. **Create a new GitHub App:** + - Go to https://github.com/settings/apps (for personal apps) or your organization's settings - Click "New GitHub App" - Configure the app with these minimum permissions: @@ -72,16 +77,19 @@ If you prefer to configure the app manually or need custom permissions: - Create the app 2. **Generate and download a private key:** + - After creating the app, scroll down to "Private keys" - Click "Generate a private key" - Download the `.pem` file (keep this secure!) 3. **Install the app on your repository:** + - Go to the app's settings page - Click "Install App" - Select the repositories where you want to use Claude 4. **Add the app credentials to your repository secrets:** + - Go to your repository's Settings → Secrets and variables → Actions - Add these secrets: - `APP_ID`: Your GitHub App's ID (found in the app settings) @@ -130,6 +138,7 @@ For more information on creating GitHub Apps, see the [GitHub documentation](htt To securely use your Anthropic API key: 1. Add your API key as a repository secret: + - Go to your repository's Settings - Navigate to "Secrets and variables" → "Actions" - Click "New repository secret" From c042eb2ee572ca3b46725a358f04834253885d50 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Sat, 7 Feb 2026 14:13:36 -0800 Subject: [PATCH 4/4] Add claude-opus-4-6 model to PR review workflow --- .github/workflows/claude-review.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 0517d957f..326197b6a 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -25,3 +25,4 @@ jobs: prompt: "/review-pr REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }}" claude_args: | --allowedTools "mcp__github_inline_comment__create_inline_comment" + --model "claude-opus-4-6"