From fc312e30d3d581ddd0ef9ff9a4ae336480921ec3 Mon Sep 17 00:00:00 2001 From: DoubleGate Date: Mon, 16 Nov 2026 03:25:57 -0500 Subject: [PATCH] fix(ci): run the prune scripts with bash; their executable bit never reached git The preview-env-cleanup workflow's first real run on main, run 43830700505, triggered by v3.7.1's branch deletion, failed both jobs with exit 126 ("permission denied") before either script did anything. Both prune scripts are recorded as 100644. They were written and committed in worktrees with core.fileMode=false, which is the workspace's rule for trees touched from the NAS mirror, so the local chmod +x was never staged. The stub-gh tests ran the scripts from the working tree, where they were executable, so they could not see it. Two fixes, either sufficient alone: - The workflow invokes `bash scripts/ci/