From 35cabd3b9d217c44941fa6ace67edcbb313ae221 Mon Sep 17 00:00:00 2001 From: cxykevin Date: Sun, 7 Jul 2024 20:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b0672ca..37310cc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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: