File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ jobs:
2020 run : isort --check .
2121 - name : Run black --check --diff .
2222 run : black --check --diff .
23- - name : If needed, commit black changes to the pull request
24- if : failure()
25- run : |
26- black .
27- git config --global user.name 'autoblack'
28- git config --global user.email 'rocky@users.noreply.github.com'
29- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
30- git checkout $GITHUB_HEAD_REF
31- git commit -am "fixup: Format Python code with Black"
32- git push
23+ # - name: If needed, commit black changes to the pull request
24+ # if: failure()
25+ # run: |
26+ # black .
27+ # git config --global user.name 'autoblack'
28+ # git config --global user.email 'rocky@users.noreply.github.com'
29+ # git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
30+ # git checkout $GITHUB_HEAD_REF
31+ # git commit -am "fixup: Format Python code with Black"
32+ # git push
You can’t perform that action at this time.
0 commit comments