fix: shallow update not allowed

This commit is contained in:
biggerfish 2024-06-06 20:50:44 +08:00
parent fc2403291c
commit 6f7b068361

View File

@ -12,6 +12,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- name: Set up Git - name: Set up Git
run: | run: |
@ -26,4 +28,3 @@ jobs:
run: | run: |
git push -u gitea --all --force git push -u gitea --all --force
git push -u gitea --tags --force git push -u gitea --tags --force