From 488f5cc244aaf15a57356041d5ebd71bf61d6cda Mon Sep 17 00:00:00 2001 From: Gonzalo Riestra Date: Thu, 11 Dec 2025 16:57:16 +0100 Subject: [PATCH] Fix fetch-depth in release workflows --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e693664acae..29b701c5cc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,8 @@ jobs: # This action can be executed by 3rd party users and it should not be able to run arbitrary code from a PR. - name: Checkout current branch uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # pin@v4.0.0 with: @@ -92,7 +94,7 @@ jobs: - uses: actions/checkout@v3 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits with: - fetch-depth: 1 + fetch-depth: 0 - name: Setup deps uses: ./.github/actions/setup-cli-deps with: @@ -122,7 +124,7 @@ jobs: - uses: actions/checkout@v3 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits with: - fetch-depth: 1 + fetch-depth: 0 - name: Setup deps uses: ./.github/actions/setup-cli-deps with: