From 7c0cea59b46caaf237681c1ba763a1e02195ed92 Mon Sep 17 00:00:00 2001 From: eexwhyzee <13672394+eexwhyzee@users.noreply.github.com> Date: Fri, 24 Jul 2026 10:34:05 -0700 Subject: [PATCH] ci(style): pin ruff-action to 0.15.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit astral-sh/ruff-action@v3 installs the latest ruff release by default. ruff 0.16.0 enabled stricter default rules that flag ~98 pre-existing issues across the repo, turning previously-green PRs red without any code change (main's last green Style run was 2026-07-21, before 0.16.0 shipped). Pin both the lint and format steps to 0.15.12 — the version uv resolves locally, against which the repo is clean — so CI stops drifting. Bump this deliberately alongside any lint fixes when adopting a newer ruff. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/style.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 72ae69e..0f33e32 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -15,9 +15,17 @@ jobs: uses: actions/checkout@v4 - name: Lint uses: astral-sh/ruff-action@v3 + with: + # Pin the ruff version so CI matches what contributors resolve + # locally. ruff-action defaults to the latest release, which drifts + # (e.g. 0.16.0 enabled stricter rules that flag pre-existing code) + # and turns green PRs red without any code change. Bump this + # deliberately alongside any lint fixes. + version: "0.15.12" - name: Format uses: astral-sh/ruff-action@v3 with: + version: "0.15.12" args: "format --check" ty: name: Ty