Skip to content

Commit 65f2b02

Browse files
committed
workflow
1 parent 980364b commit 65f2b02

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/autoblack.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)