From 8bc9871829ab5ff5b2b78b219376db03da3c4d50 Mon Sep 17 00:00:00 2001 From: Dayuan Jiang <34411969+DayuanJiang@users.noreply.github.com> Date: Mon, 15 Jun 2026 00:44:55 +0900 Subject: [PATCH] ci: pin Biome to 2.4.13 in auto-format workflow (#869) 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