From 526dc624e838c62325aa007eca1c4c7088bcc242 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 13 Jul 2025 17:01:41 -1000 Subject: [PATCH 1/2] fixes --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf585c995d..99cffd6d67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -499,10 +499,17 @@ jobs: pre-commit-ci-lite: name: pre-commit.ci lite runs-on: ubuntu-latest + needs: + - common if: github.event_name == 'pull_request' && github.base_ref != 'beta' && github.base_ref != 'release' steps: - name: Check out code from GitHub uses: actions/checkout@v4.2.2 + - name: Restore Python + uses: ./.github/actions/restore-python + with: + python-version: ${{ env.DEFAULT_PYTHON }} + cache-key: ${{ needs.common.outputs.cache-key }} - uses: pre-commit/action@v3.0.1 env: SKIP: pylint,clang-tidy-hash,yamllint From ba9b4f3340800a974e8fa3a2d10b4f820ec70ad9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 13 Jul 2025 17:02:23 -1000 Subject: [PATCH 2/2] fixes --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99cffd6d67..d341b93aab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -513,8 +513,7 @@ jobs: - uses: pre-commit/action@v3.0.1 env: SKIP: pylint,clang-tidy-hash,yamllint - - name: Run pre-commit.ci lite - uses: pre-commit-ci/lite-action@v1.1.0 + - uses: pre-commit-ci/lite-action@v1.1.0 if: always() ci-status: