From c00d8bbc184c9555182b29972f7609d9d639213c Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Mon, 15 Jun 2026 00:32:41 +0900 Subject: [PATCH] ci: pin Biome to 2.4.13 in auto-format workflow CI used npx @biomejs/biome@latest, which drifted to 2.5.0 and failed the format job (deprecated config fields + stricter parsing of existing files like public/resnet50.svg) on unrelated PRs. Pin to the version already in package.json so CI matches local and pre-commit runs. --- .github/workflows/auto-format.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-format.yml b/.github/workflows/auto-format.yml index 03a1ca9..3ca6ee4 100644 --- a/.github/workflows/auto-format.yml +++ b/.github/workflows/auto-format.yml @@ -23,7 +23,9 @@ jobs: node-version: '24' - name: Run Biome format - run: npx @biomejs/biome@latest check --write --no-errors-on-unmatched . + # Pin to the version in package.json so CI matches local/pre-commit + # (npx @latest drifts — e.g. 2.5.0 broke this job on unrelated PRs). + run: npx @biomejs/biome@2.4.13 check --write --no-errors-on-unmatched . - name: Check for changes id: changes