Skip to content

Commit

Permalink
ci: only commit on pre-commit failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtro committed Jul 17, 2024
1 parent 5a416cd commit 0385d9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0385d9f

Please sign in to comment.