diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4486996..403594a 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -59,13 +59,12 @@ jobs: lint-md src/**/* --threads=8 --fix --suppress-warnings - name: Commit files run: | - black --check . || black --fast . git config --global user.name "studyareacn-format-bot" 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 commit -m "Auto format" - git push + git push || echo "Finish" Run: runs-on: ubuntu-latest steps: