Skip to content

Commit a27bb35

Browse files
committed
update pre-commit-lite conditions
1 parent 8a675ab commit a27bb35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
run: poetry install --no-interaction --no-ansi
2626
# run pre-commit
2727
- uses: pre-commit/action@v3.0.1
28+
id: pre_commit
2829
# run pre-commit ci lite for automated fixes
2930
- uses: pre-commit-ci/lite-action@v1.1.0
30-
if: ${{ !cancelled() }}
31+
if: ${{ !cancelled() if: ${{ !cancelled() }}if: ${{ !cancelled() }} steps.pre_commit.outcome == 'failure' }}
3132
run_tests:
3233
strategy:
3334
matrix:

0 commit comments

Comments
 (0)