File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ Test workflow with custom AWF arguments.
8585 t .Error ("Compiled workflow should exclude COPILOT_GITHUB_TOKEN via --exclude-env" )
8686 }
8787
88- if ! strings .Contains (lockYAML , "--allow-domains " ) {
89- t .Error ("Compiled workflow should still contain '--allow-domains' flag " )
88+ if ! strings .Contains (lockYAML , "allowDomains " ) {
89+ t .Error ("Compiled workflow should still contain 'allowDomains' in the AWF config JSON " )
9090 }
9191
9292 if ! strings .Contains (lockYAML , "--log-level" ) {
@@ -152,8 +152,8 @@ Test workflow without custom AWF arguments.
152152 t .Error ("Compiled workflow should exclude COPILOT_GITHUB_TOKEN via --exclude-env" )
153153 }
154154
155- if ! strings .Contains (lockYAML , "--allow-domains " ) {
156- t .Error ("Compiled workflow should contain '--allow-domains' flag " )
155+ if ! strings .Contains (lockYAML , "allowDomains " ) {
156+ t .Error ("Compiled workflow should contain 'allowDomains' in the AWF config JSON " )
157157 }
158158
159159 if ! strings .Contains (lockYAML , "--log-level" ) {
@@ -321,6 +321,7 @@ permissions:
321321engine: copilot
322322sandbox:
323323 agent:
324+ id: awf
324325 version: v0.25.0
325326---
326327
You can’t perform that action at this time.
0 commit comments