File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments