From ef94d7961238a02b65054da420eb6d13c6198eac Mon Sep 17 00:00:00 2001 From: Hannah Cotterell <143161783+HanCotterell@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:00:52 -0800 Subject: [PATCH] Account of file size OS rounding in image max size --- .github/scripts/validate-pr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/validate-pr.js b/.github/scripts/validate-pr.js index 958477c..1fb3458 100644 --- a/.github/scripts/validate-pr.js +++ b/.github/scripts/validate-pr.js @@ -132,7 +132,7 @@ async function run() { { name: "Check image file size", test: async ({ data, imageFiles }) => { - const MAX_SIZE = 200 * 1024; // 200 KB + const MAX_SIZE = 250000; // 250 KB (some leeway for OS rounding) const imageFile = imageFiles.find(f => f.filename === data.image); if (!imageFile) return false;