You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/network.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,39 @@ The default log level is `info`, which provides a balance between visibility and
112
112
113
113
See the [Copilot Engine - Network Permissions](/gh-aw/reference/engines/#network-permissions) documentation for detailed AWF configuration options.
114
114
115
+
### Custom AWF Binary Path
116
+
117
+
Specify a custom AWF binary instead of downloading from GitHub releases:
118
+
119
+
```yaml wrap
120
+
network:
121
+
firewall:
122
+
path: /usr/local/bin/awf-custom # Absolute path
123
+
allowed:
124
+
- defaults
125
+
```
126
+
127
+
Relative paths are resolved relative to the repository root:
128
+
129
+
```yaml wrap
130
+
network:
131
+
firewall:
132
+
path: bin/awf # Resolves to ${GITHUB_WORKSPACE}/bin/awf
133
+
allowed:
134
+
- defaults
135
+
```
136
+
137
+
When `path` is specified:
138
+
- AWF is not downloaded from GitHub releases
139
+
- The specified binary must exist and be executable
140
+
- Path is validated before workflow execution
141
+
- The `version` field is ignored (if also specified)
142
+
143
+
**Use cases:**
144
+
- Pre-installed AWF on self-hosted runners
145
+
- Custom AWF builds with patches or modifications
146
+
- Repository-specific AWF versions
147
+
115
148
## Best Practices
116
149
117
150
Follow the principle of least privilege by only allowing access to domains and ecosystems actually needed. Prefer ecosystem identifiers over broad wildcard patterns. Avoid overly permissive patterns like `"*"` or `"*.com"`.
"description": "Custom path to AWF binary. When specified, skips downloading AWF from GitHub releases. Supports absolute paths or paths relative to GITHUB_WORKSPACE."
0 commit comments