Skip to content

Commit

Permalink
chore(ci): show diff on failed format
Browse files Browse the repository at this point in the history
The provided patch is great to fix large formatting errors, however, it
would be nice for CI to also show the diff for smaller changes that
could be directly typed without having to download the patch.

Signed-off-by: Mauro Ezequiel Moltrasio <mmoltras@redhat.com>
  • Loading branch information
Molter73 authored and poiana committed Oct 1, 2024
1 parent aeb8793 commit cf6debe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Run pre-commit ©️
run: |
pre-commit run --all-files
pre-commit run --show-diff-on-failure --color=always --all-files
- name: Generate the git-diff 🚒
if: failure()
Expand Down

0 comments on commit cf6debe

Please sign in to comment.