From 336f19cd83bec652018c2184d7be6dad36f9e344 Mon Sep 17 00:00:00 2001 From: Qinyouzeng <102203523+Qinyouzeng@users.noreply.github.com> Date: Fri, 11 Jul 2025 15:00:48 +0800 Subject: [PATCH] Update mirror-gitlab.yml --- .github/workflows/mirror-gitlab.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mirror-gitlab.yml b/.github/workflows/mirror-gitlab.yml index 9fa0c0d9..979fc27c 100644 --- a/.github/workflows/mirror-gitlab.yml +++ b/.github/workflows/mirror-gitlab.yml @@ -8,11 +8,13 @@ on: jobs: to_gitlab: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 + steps: - name: config git run: git config --global http.postBuffer 524288000 - - uses: yesolutions/mirror-action@v0.5.1 + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master with: REMOTE: '${{ secrets.GITLAB_ADDER }}/cicd/masa.alert.git' GIT_USERNAME: ${{ secrets.GIT_USERNAME }}