forked from study-area-cn/study-area-cn.old
另一种黑魔法修复问题
This commit is contained in:
parent
3cd30e68cc
commit
dd8d7aafe9
|
@ -59,13 +59,12 @@ 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
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Auto format"
|
git commit -m "Auto format"
|
||||||
git push
|
git push || echo "Finish"
|
||||||
Run:
|
Run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue