From 0e68806351310965e0ba779d7e30e68189f19936 Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Sat, 22 Aug 2026 20:30:20 +0800 Subject: [PATCH] gitattributes: keep workflow manifests LF on Windows checkouts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A CRLF ci.yml turns every step command into "cmd\r", so bash fails to find the referenced scripts on the Windows runner ("bash ./tooling/install-deps.sh: No such file or directory" — the file is there, the command carries a trailing CR). Same class as the golden JSON/OVE fix: pin *.yml/*.yaml to eol=lf. --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 3b4b1e0f1..a4c954a02 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,3 +11,9 @@ # Windows checkouts too (text=auto would hand out CRLF there). *.json text eol=lf *.ove text eol=lf + +# Workflow manifests: a CRLF ci.yml turns every step command into +# "cmd\r", and bash then cannot find the referenced scripts on the +# Windows runner ("No such file or directory"). +*.yml text eol=lf +*.yaml text eol=lf