diff options
-rw-r--r-- | .github/workflows/lint.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 642db62..98b204a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -63,7 +63,7 @@ jobs: # Show the log to debug failures. - name: Show pre-commit log - if: always() && steps.run-pre-commit-hooks.outcome != 'success' + if: always() && steps.run-pre-commit-hooks.outcome == 'failure' run: cat "${PRE_COMMIT_HOME}/pre-commit.log" # Output linting errors in the format GitHub Actions recognises for |