From 8458090c868d1fa9cb1a404174ff6c334b80c917 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sat, 28 Nov 2026 19:02:43 -0600 Subject: [PATCH] ci: skip pre-commit cache restore on the self-hosted runner pre-commit/action restores a 2.8 GB ~/.cache/pre-commit archive, which exceeded the 10 minute job timeout. The runner keeps that directory on disk. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/pre-commit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index a8b00ad..6f1bc29 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -18,6 +18,9 @@ jobs: with: python-version: "3.15.2" - - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 + - name: Run pre-commit env: SKIP: no-commit-to-branch + run: | + python -m pip install pre-commit + pre-commit run --show-diff-on-failure --color=always --all-files