diff --git a/.github/workflows/mirror_to_gitlab.yml b/.github/workflows/mirror_to_gitlab.yml index 25950e0..b03ef55 100644 --- a/.github/workflows/mirror_to_gitlab.yml +++ b/.github/workflows/mirror_to_gitlab.yml @@ -6,10 +6,12 @@ jobs: mirror-repository: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: mirror-repository - uses: spyoungtech/mirror-action@master + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master with: REMOTE: ${{ secrets.GITLAB_REPO_SSH }} GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_PRIVATE_KEY }} GIT_SSH_NO_VERIFY_HOST: ${{ secrets.GIT_SSH_NO_VERIFY_HOST }} + PUSH_ALL_REFS: "false"