We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f977df commit 8d994abCopy full SHA for 8d994ab
.github/workflows/black.yml
@@ -28,17 +28,4 @@ jobs:
28
- name: Format all py files using black
29
run: |
30
black $(git ls-files '*.py')
31
- - name: Commit and push changes
32
- run: |
33
- git config --local user.email "${{ github.actor }}@users.noreply.github.com"
34
- git config --local user.name "${{ github.actor }}"
35
- if [ "$(git ls-files --modified '*.py' | wc -l)" -ne 0 ]; then
36
- git stash -u
37
- git add --all
38
- message="$(git log -1 --pretty=%B) Format Python code with Black"
39
- git commit -m "$message"
40
- git push origin master
41
- fi
42
- if [ "$(git ls-files --staged '*.py' | wc -l)" -ne 0 ]; then
43
- git stash drop
44
+ git status -s
0 commit comments