From 22942f10ca6e49b9da1b9363a2f3e082db45d51a Mon Sep 17 00:00:00 2001 From: d33bs Date: Fri, 9 May 2025 22:13:17 -0600 Subject: [PATCH 1/2] update pre-commit-lite conditions --- .github/workflows/pre-commit-checks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-checks.yml b/.github/workflows/pre-commit-checks.yml index e9c2a570..607030fd 100644 --- a/.github/workflows/pre-commit-checks.yml +++ b/.github/workflows/pre-commit-checks.yml @@ -18,6 +18,7 @@ jobs: python-version: "3.10" # run pre-commit - uses: pre-commit/action@v3.0.1 + id: pre_commit # run pre-commit ci lite for automated fixes - uses: pre-commit-ci/lite-action@v1.1.0 - if: ${{ !cancelled() }} + if: ${{ !cancelled() if: ${{ !cancelled() }}if: ${{ !cancelled() }} steps.pre_commit.outcome == 'failure' }} From 3e72c392da58b7ca7549cdf775a7d7e247db63d5 Mon Sep 17 00:00:00 2001 From: d33bs Date: Fri, 9 May 2025 22:18:00 -0600 Subject: [PATCH 2/2] correction --- .github/workflows/pre-commit-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-checks.yml b/.github/workflows/pre-commit-checks.yml index 607030fd..0f31b296 100644 --- a/.github/workflows/pre-commit-checks.yml +++ b/.github/workflows/pre-commit-checks.yml @@ -21,4 +21,4 @@ jobs: id: pre_commit # run pre-commit ci lite for automated fixes - uses: pre-commit-ci/lite-action@v1.1.0 - if: ${{ !cancelled() if: ${{ !cancelled() }}if: ${{ !cancelled() }} steps.pre_commit.outcome == 'failure' }} + if: ${{ !cancelled() && steps.pre_commit.outcome == 'failure' }}