Skip to content

Commit

Permalink
Add push to auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryu1845 authored Mar 12, 2022
1 parent a333c01 commit cdfe43d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
run: |
black .
isort **/**.py
git config --global user.name 'Ryu1845'
git config --global user.email '[email protected]'
git diff --quiet && git diff --staged --quiet || git commit -am 'Formatted using isort and black'
git config --global user.name 'Auto format'
git config --global user.email '[email protected]'
git diff --quiet && git diff --staged --quiet || git commit -am 'Formatted using isort and black' && git push

0 comments on commit cdfe43d

Please sign in to comment.