Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 3 additions & 27 deletions .github/aw/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ For workflows that build, test, or install packages, add the matching ecosystem

## Common Patterns

### Workflow that reads GitHub data only
Reads GitHub data only:

```yaml
network:
Expand All @@ -171,16 +171,7 @@ network:
- github
```

### Node.js CI workflow

```yaml
network:
allowed:
- defaults
- node
```

### Multi-language project
Multi-language project:

```yaml
network:
Expand All @@ -190,19 +181,4 @@ network:
- python
```

### Calling an external API

```yaml
network:
allowed:
- defaults
- api.myservice.com
- "*.myservice.com"
```

### No outbound network access

```yaml
network:
allowed: []
```
Single ecosystem, external APIs, and no-network forms are in [Quick Reference](#quick-reference).