添加自动格式化 #9
|
@ -61,9 +61,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
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 add .
|
git add .
|
||||||
git commit -m "Auto format"
|
git commit -m "Auto format"
|
||||||
git push -u ${{ secrets.GIT_USER }}:${{ secrets.GIT_PASSWD }}
|
git push
|
||||||
Run:
|
Run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Reference in New Issue