From c3768f97db3981b791505491bdd778052e50f9bf Mon Sep 17 00:00:00 2001 From: Nick K Date: Thu, 16 May 2024 05:29:56 +0300 Subject: [PATCH] fix(workflows): Add fetch-depth option to checkout step in release workflow --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9284ea..aa90021 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits. The action will fail if I remove this. - name: Setup Node.js uses: actions/setup-node@v4