modify git fetch depth

Signed-off-by: 24sama <leo@kubesphere.io>
This commit is contained in:
24sama 2021-09-30 15:01:21 +08:00
parent 17d3fa3730
commit 4d33bdac7b

View File

@ -11,7 +11,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-depth: 1
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go 1.16