From cfe134931fac85a666839e9c73bf1c9645fedd56 Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Sat, 5 Sep 2026 23:20:43 +0530 Subject: [PATCH] fix(ci): stop CRLF conversion of the pinned FiraCode license on Windows The Windows runner's git checkout rewrote assets/fonts/FiraCode-LICENSE.txt line endings (autocrlf), changing its bytes and tripping the SHA-256 pin in download-tools.js. A .gitattributes marks the license (-text) and all font/ image binaries as never-normalized so every platform checks out identical bytes. --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9e3176c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Text artifacts that are hash-pinned must check out byte-identical everywhere +assets/fonts/FiraCode-LICENSE.txt -text +# Binaries: never normalize +*.ttf -text +*.woff -text +*.woff2 -text +*.png -text +*.ico -text +*.icns -text