Skip to content

Commit a529799

Browse files
[caveman] Trim duplicated network examples in network.md (#57777)
1 parent 6da9adb commit a529799

1 file changed

Lines changed: 3 additions & 27 deletions

File tree

.github/aw/network.md

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ For workflows that build, test, or install packages, add the matching ecosystem
162162

163163
## Common Patterns
164164

165-
### Workflow that reads GitHub data only
165+
Reads GitHub data only:
166166

167167
```yaml
168168
network:
@@ -171,16 +171,7 @@ network:
171171
- github
172172
```
173173

174-
### Node.js CI workflow
175-
176-
```yaml
177-
network:
178-
allowed:
179-
- defaults
180-
- node
181-
```
182-
183-
### Multi-language project
174+
Multi-language project:
184175

185176
```yaml
186177
network:
@@ -190,19 +181,4 @@ network:
190181
- python
191182
```
192183

193-
### Calling an external API
194-
195-
```yaml
196-
network:
197-
allowed:
198-
- defaults
199-
- api.myservice.com
200-
- "*.myservice.com"
201-
```
202-
203-
### No outbound network access
204-
205-
```yaml
206-
network:
207-
allowed: []
208-
```
184+
Single ecosystem, external APIs, and no-network forms are in [Quick Reference](#quick-reference).

0 commit comments

Comments
 (0)