From 0451de5024258ec219f5f3fc6df6378a63285715 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Fri, 30 Dec 2022 14:20:42 +0800 Subject: [PATCH] ci: use depth 0 in checkout to fetch all tags (#2785) --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e117b863..d7b710cd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,6 +91,7 @@ jobs: with: # Set Git operations with the bot PAT since we have tag protection rule token: ${{ secrets.BOT_PAT }} + fetch-depth: 0 - name: Setup Node and pnpm uses: silverhand-io/actions-node-pnpm-run-steps@v2