From 7673148cfb212e55d8f99dab4019dc86366854db Mon Sep 17 00:00:00 2001 From: km-anthropic Date: Mon, 14 Jul 2025 15:16:23 -0700 Subject: [PATCH] Give an example of network restriction in claude.yml --- examples/claude.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/claude.yml b/examples/claude.yml index 1feb7158..e0c6161d 100644 --- a/examples/claude.yml +++ b/examples/claude.yml @@ -36,4 +36,10 @@ jobs: # Or use OAuth token instead: # claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} timeout_minutes: "60" - # allowed_domains: "github.com\napi.github.com\nraw.githubusercontent.com" # Optional: Restrict network access + # Optional: Restrict network access to specific domains only + # allowed_domains: | + # .anthropic.com + # .github.com + # .githubusercontent.com + # ghcr.io + # .blob.core.windows.net