另一种黑魔法修复问题
Build and Publish / Run (push) Waiting to run Details
Build and Publish / Format (push) Has been cancelled Details

This commit is contained in:
cxykevin 2024-07-08 21:20:40 +08:00
parent 3cd30e68cc
commit dd8d7aafe9
1 changed files with 1 additions and 2 deletions

View File

@ -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: