Sign in
Explore
Workflows · WorkflowEveryday codingReviewed

blocked-domains

Shows the blocked field in network configuration: blocks specific domains while allowing others.

Kind
Workflow
Works with
GitHub Copilot
Source
GitHub Agentic Workflows @ 317d9005a6bc
Path
pkg/cli/workflows/example-blocked-domains.md
License
MIT
Jobs
Guardrails
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Example: Blocked Domains

This workflow demonstrates using the `blocked` field in network configuration to block specific domains while allowing others.

The workflow allows access to:
- Basic infrastructure (`defaults`)
- GitHub domains (`github`)
- Node.js/NPM ecosystem (`node`)

But explicitly blocks:
- `tracker.example.com` (tracking domain)
- `analytics.example.com` (analytics domain)

Blocked domains take precedence over allowed domains, providing fine-grained control over network access.