Skip to content

Commit dc6503a

Browse files
committed
Attempt autoblack - fsck up smile.py
1 parent f988d3f commit dc6503a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/verify.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
6767
black:
6868
runs-on: ubuntu-latest
69+
name: Black check and force
6970
needs: prepare
7071
steps:
7172
- name: Check out committed code
@@ -103,15 +104,10 @@ jobs:
103104
black .
104105
git config --global user.name 'autoblack'
105106
git config --global user.email '[email protected]'
106-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
107+
git remote set-url origin https://x-access-token:${{ secrets.PAT_CT }}@github.com/$GITHUB_REPOSITORY
107108
git checkout $GITHUB_HEAD_REF
108109
git commit -am "fixup: Format Python code with Black"
109-
- name: Push changes
110-
uses: ad-m/github-push-action@master
111-
if: failure()
112-
with:
113-
github_token: ${{ secrets.PAT_CT}}
114-
110+
git push
115111
116112
commitcheck:
117113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)