From 30e4edc1ea4d5f9fcc67dbcd52b5d4e9ad1ed49d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 13 Jul 2025 16:45:02 -1000 Subject: [PATCH] try another way --- .github/workflows/ci.yml | 19 +++++++++++++++++++ .github/workflows/pre-commit-ci-lite.yml | 20 -------------------- 2 files changed, 19 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/pre-commit-ci-lite.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c043c25936..317c44a8d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -573,6 +573,25 @@ jobs: ./script/test_build_components -e compile -c $component done + 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 + - name: Run pre-commit.ci lite + uses: pre-commit-ci/lite-action@v1.0.3 + if: always() + ci-status: name: CI Status runs-on: ubuntu-24.04 diff --git a/.github/workflows/pre-commit-ci-lite.yml b/.github/workflows/pre-commit-ci-lite.yml deleted file mode 100644 index 2f7cdd1176..0000000000 --- a/.github/workflows/pre-commit-ci-lite.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -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()