From a6822d1d164e286ecec0cb8ec3a453a7ffa41bce Mon Sep 17 00:00:00 2001 From: DoctorReid Date: Mon, 11 Sep 2023 10:03:32 +0800 Subject: [PATCH] =?UTF-8?q?#4=20=E4=BF=AE=E6=AD=A3=E8=87=AA=E5=8A=A8commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/locale-po.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/locale-po.yml b/.github/workflows/locale-po.yml index 9e9f4cb0..456822a0 100644 --- a/.github/workflows/locale-po.yml +++ b/.github/workflows/locale-po.yml @@ -36,10 +36,8 @@ jobs: python .github/compile_po.py - name: Commit changes - run: | - git config --global user.name ${{ secrets.GITHUB_USERNAME }} - git config --global user.email ${{ secrets.GITHUB_EMAIL }} - git config --global credential.helper store --file ~/.git-credentials - git add . - git commit -m "自动编译 PO 文件并提交代码 - $(date +%Y-%m-%d)" - git push \ No newline at end of file + uses: EndBug/add-and-commit@v9.1.3 + with: + author_name: github-actions[bot] + author_email: github-actions[bot]@users.noreply.github.com + message: '[Bot] 自动编译多语言mo文件 - $(date +%Y-%m-%d)' \ No newline at end of file