We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d994ab commit 4eb7aeaCopy full SHA for 4eb7aea
.github/workflows/black.yml
@@ -28,4 +28,12 @@ jobs:
28
- name: Format all py files using black
29
run: |
30
black $(git ls-files '*.py')
31
- git status -s
+ - name: Commit changes
32
+ run: |
33
+ git config --local user.email "[email protected]"
34
+ git config --local user.name "GitHub Action"
35
+ git add .
36
+ git diff-index --quiet HEAD || git commit -m "Format Python code with Black"
37
+ - name: Push changes
38
39
+ git push origin master
0 commit comments