Skip to content

Commit

Permalink
Execute git config in the pre-commit action.
Browse files Browse the repository at this point in the history
  • Loading branch information
workingloong committed Sep 22, 2023
1 parent 8239dee commit f53452c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/pre-commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ runs:
args:
- "/bin/bash"
- "-c"
- "pre-commit run -a --show-diff-on-failure --color=always"
- "git config --global --add safe.directory '*' && \
pre-commit run -a --show-diff-on-failure --color=always"

0 comments on commit f53452c

Please sign in to comment.