fix: Add fetch depth to GitHub repository checkout

- Add fetch-depth option to GitHub repository checkout step for improved syncing
- Update sync-to-gitlab.yml workflow file
- Ensure proper setup of Git for synchronization
This commit is contained in:
bobo 2024-01-04 12:23:59 +08:00
parent 05625059d5
commit d53433d618

View File

@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout GitHub repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Git
run: |