From b2a781d719f612d39105ef80fef3b52c1c3fff94 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 13 Jul 2025 16:36:29 -1000 Subject: [PATCH] Fix pre-commit CI issues by switching to lite mode --- .github/workflows/pre-commit-ci-lite.yml | 20 ++++++++++++++++++++ .pre-commit-config.yaml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pre-commit-ci-lite.yml diff --git a/.github/workflows/pre-commit-ci-lite.yml b/.github/workflows/pre-commit-ci-lite.yml new file mode 100644 index 0000000000..2f7cdd1176 --- /dev/null +++ b/.github/workflows/pre-commit-ci-lite.yml @@ -0,0 +1,20 @@ +--- +name: pre-commit.ci lite + +on: + pull_request: + types: [labeled, opened, reopened, synchronize] + branches-ignore: + - beta + - release + +jobs: + pre-commit-ci-lite: + name: pre-commit.ci lite + runs-on: ubuntu-latest + steps: + - name: Check out code from GitHub + uses: actions/checkout@v4.2.2 + - name: Run pre-commit.ci lite + uses: pre-commit-ci/lite-action@v1.0.3 + if: always() diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 203808c88b..8db7f21599 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: autoupdate_commit_msg: 'pre-commit: autoupdate' - autoupdate_schedule: weekly + autoupdate_schedule: off # Disabled until ruff versions are synced between deps and pre-commit # Skip hooks that have issues in pre-commit CI environment skip: [pylint, clang-tidy-hash, yamllint]