From 0385d9f345abb4c782ac95231b631d54f9c96f18 Mon Sep 17 00:00:00 2001 From: mdtro <20070360+mdtro@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:46:22 -0700 Subject: [PATCH] ci: only commit on pre-commit failure --- .github/workflows/linting.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 4af496d16..df2b9202e 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -40,6 +40,7 @@ jobs: - name: Run pre-commit on PR commits id: pre-commit_results + continue-on-error: true run: | jq '.[]' --raw-output <<< '${{steps.changes.outputs.all_files}}' | # Run pre-commit to lint and format check files that were changed (but not deleted) compared to master.