mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
ci: enable network for exec runs via -c sandbox_workspace_write.network_access=true; keep workspace-write and git writes opt-in
This commit is contained in:
@@ -468,6 +468,7 @@ jobs:
|
||||
npx -y @just-every/code@latest \
|
||||
exec \
|
||||
-s "$CODE_SANDBOX" \
|
||||
-c sandbox_workspace_write.network_access=true \
|
||||
--cd "$GITHUB_WORKSPACE" \
|
||||
--skip-git-repo-check \
|
||||
- | tee .github/auto/AGENT_STDOUT.txt
|
||||
|
||||
@@ -173,7 +173,9 @@ jobs:
|
||||
npm_config_cache="$SAFE_HOME/.npm" \
|
||||
npx -y @just-every/code@latest \
|
||||
exec \
|
||||
-s workspace-write -c sandbox_workspace_write.allow_git_writes=true \
|
||||
-s workspace-write \
|
||||
-c sandbox_workspace_write.allow_git_writes=true \
|
||||
-c sandbox_workspace_write.network_access=true \
|
||||
--cd "$GITHUB_WORKSPACE" \
|
||||
--skip-git-repo-check \
|
||||
- | tee .github/auto/AGENT_STDOUT.txt
|
||||
|
||||
Reference in New Issue
Block a user