Skip to content

Commit

Permalink
github workflow add git diff when pre-commit modifies files
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Dec 4, 2023
1 parent 2ca3ee2 commit 2508fa8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ jobs:
- name: Run pre-commit
if: matrix.runPrecommitTests
run: pre-commit run -a --hook-stage manual

- uses: getsentry/action-git-diff-suggestions@main
if: matrix.runPrecommitTests
with:
message: 'pre-commit made the following changes'

- name: Archive results
if: matrix.runPrecommitTests && always()
Expand Down

0 comments on commit 2508fa8

Please sign in to comment.