diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 05de84e..aa404e9 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -15,7 +15,6 @@ jobs: uses: actions/checkout@v4 - name: clone remote - shell: pwsh run: | git config --global user.email 3695888@qq.com git config --global user.name shenjack-action @@ -24,5 +23,5 @@ jobs: for branch in $(git branch -r | grep -v '\->'); do git branch --track ${branch#origin/} $branch done - git pull --all - git push origin --all + git pull --all --tags + git push origin --all --tags --force