gitattributes: keep workflow manifests LF on Windows checkouts
CI / Build & test (Windows) (push) Failing after 27s
CI / Build & test (Linux) (push) Canceled after 6m11s

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.
This commit is contained in:
2026-08-22 20:30:20 +08:00
parent a8836275dc
commit 0e68806351
+6
View File
@@ -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