forked from study-area-cn/study-area-cn.old
黑魔法解决git push返回值
This commit is contained in:
parent
c02292a977
commit
3cd30e68cc
|
@ -59,6 +59,7 @@ jobs:
|
||||||
lint-md src/**/* --threads=8 --fix --suppress-warnings
|
lint-md src/**/* --threads=8 --fix --suppress-warnings
|
||||||
- name: Commit files
|
- name: Commit files
|
||||||
run: |
|
run: |
|
||||||
|
black --check . || black --fast .
|
||||||
git config --global user.name "studyareacn-format-bot"
|
git config --global user.name "studyareacn-format-bot"
|
||||||
git config --global user.email "studyareacn-format@noreply.localhost"
|
git config --global user.email "studyareacn-format@noreply.localhost"
|
||||||
git remote set-url origin https://${{ secrets.GIT_USER }}:${{ secrets.GIT_PASSWD }}@git.hmtsai.cn/study-area-cn/study-area-cn
|
git remote set-url origin https://${{ secrets.GIT_USER }}:${{ secrets.GIT_PASSWD }}@git.hmtsai.cn/study-area-cn/study-area-cn
|
||||||
|
|
Loading…
Reference in New Issue