diff --git a/.gitea/workflows/update-rules.yml b/.gitea/workflows/update-rules.yml index e1adc25..50499c3 100644 --- a/.gitea/workflows/update-rules.yml +++ b/.gitea/workflows/update-rules.yml @@ -13,7 +13,7 @@ jobs: # 不使用 actions/checkout,直接手动克隆 - name: Manual Clone Repository run: | - git clone https://${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#https://}/${{ github.repository }}.git . + git clone https://${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#}/${{ github.repository }}.git . git config user.name "Bot" git config user.email "bot@example.com"