diff --git a/.gitea/workflows/AutoGenerateREADME.yaml b/.gitea/workflows/AutoGenerateREADME.yaml index 66a90e9..e71e92c 100644 --- a/.gitea/workflows/AutoGenerateREADME.yaml +++ b/.gitea/workflows/AutoGenerateREADME.yaml @@ -11,9 +11,8 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 # 获取完整的提交历史 + run: | + git clone --depth=0 https://gitea.com/actions/checkout.git . - name: Get repository name id: repo-name @@ -38,8 +37,8 @@ jobs: - name: Commit and push changes run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "liyepan@linuxacme.com" + git config --local user.name "iorebuild" git add README.md if git diff --staged --quiet; then echo "No changes to README.md. Skipping commit."