mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 23:14:13 +08:00
Remove proxy example -- it's intuitive for users to figure it out
This commit is contained in:
18
README.md
18
README.md
@@ -110,7 +110,7 @@ jobs:
|
|||||||
| `branch_prefix` | The prefix to use for Claude branches (defaults to 'claude/', use 'claude-' for dash format) | No | `claude/` |
|
| `branch_prefix` | The prefix to use for Claude branches (defaults to 'claude/', use 'claude-' for dash format) | No | `claude/` |
|
||||||
| `claude_env` | Custom environment variables to pass to Claude Code execution (YAML format) | No | "" |
|
| `claude_env` | Custom environment variables to pass to Claude Code execution (YAML format) | No | "" |
|
||||||
| `additional_permissions` | Additional permissions to enable. Currently supports 'actions: read' for viewing workflow results | No | "" |
|
| `additional_permissions` | Additional permissions to enable. Currently supports 'actions: read' for viewing workflow results | No | "" |
|
||||||
| `allowed_domains` | Restrict network access to these domains only (newline-separated). Provider domains are auto-detected. | No | "" |
|
| `allowed_domains` | Restrict network access to these domains only (newline-separated). | No | "" |
|
||||||
|
|
||||||
\*Required when using direct Anthropic API (default and when not using Bedrock or Vertex)
|
\*Required when using direct Anthropic API (default and when not using Bedrock or Vertex)
|
||||||
|
|
||||||
@@ -557,22 +557,6 @@ For GitHub Enterprise users, replace the GitHub.com domains above with your ente
|
|||||||
|
|
||||||
To determine which domains your workflow needs, you can temporarily run without restrictions and monitor the network requests, or check your GitHub Enterprise configuration for the specific services you use.
|
To determine which domains your workflow needs, you can temporarily run without restrictions and monitor the network requests, or check your GitHub Enterprise configuration for the specific services you use.
|
||||||
|
|
||||||
#### Custom LLM Proxy Example
|
|
||||||
|
|
||||||
If you're using a custom LLM proxy instead of the standard providers:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- uses: anthropics/claude-code-action@beta
|
|
||||||
with:
|
|
||||||
anthropic_api_key: ${{ secrets.PROXY_API_KEY }}
|
|
||||||
allowed_domains: |
|
|
||||||
llm-proxy.company.com
|
|
||||||
github.com
|
|
||||||
api.github.com
|
|
||||||
raw.githubusercontent.com
|
|
||||||
.githubusercontent.com
|
|
||||||
```
|
|
||||||
|
|
||||||
## Cloud Providers
|
## Cloud Providers
|
||||||
|
|
||||||
You can authenticate with Claude using any of these three methods:
|
You can authenticate with Claude using any of these three methods:
|
||||||
|
|||||||
Reference in New Issue
Block a user