添加自动格式化 #9
|
@ -59,9 +59,11 @@ jobs:
|
|||
lint-md src/**/* --threads=8 --fix --suppress-warnings
|
||||
- name: Commit files
|
||||
run: |
|
||||
git config --global user.name "studyareacn-format-bot"
|
||||
git config --global user.email studyareacn-format@noreply.localhost"
|
||||
git add .
|
||||
git commit -m 'Auto format'
|
||||
git push
|
||||
git push -u {{ secrets.GIT_USER }}:{{ secrets.PASSWD }}
|
||||
Run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Reference in New Issue