File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -198,10 +198,14 @@ runs:
198198 - name : Install subprocess isolation dependencies
199199 # Install subprocess isolation dependencies when processing content from non-write users.
200200 # Best-effort: skips on non-Linux or when sudo/apt unavailable (self-hosted runners).
201- if : ${{ inputs.allowed_non_write_users != '' && env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB != '0' && runner.os == 'Linux' }}
201+ if : ${{ inputs.allowed_non_write_users != '' && runner.os == 'Linux' }}
202202 continue-on-error : true
203203 shell : bash
204204 run : |
205+ if [ "${CLAUDE_CODE_SUBPROCESS_ENV_SCRUB:-}" = "0" ]; then
206+ echo "Subprocess isolation opted out via CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=0"
207+ exit 0
208+ fi
205209 if command -v apt-get >/dev/null && command -v sudo >/dev/null; then
206210 for i in 1 2 3; do
207211 sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends bubblewrap socat && break
You can’t perform that action at this time.
0 commit comments