Skip to content

Commit 93105a1

Browse files
authored
Update mirror-gitlab.yml (#375)
1 parent 9b24f4d commit 93105a1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/mirror-gitlab.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ on:
88
jobs:
99
to_gitlab:
1010
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v1
11+
steps:
1312
- name: config git
1413
run: git config --global http.postBuffer 524288000
15-
- uses: yesolutions/mirror-action@v0.5.1
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
- uses: yesolutions/mirror-action@master
1618
with:
1719
REMOTE: '${{ secrets.GITLAB_ADDER }}/cicd/masa.alert.git'
1820
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}

0 commit comments

Comments
 (0)