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: