From ba2f897f4f48eb7d6223e67b46e7364b5843fa32 Mon Sep 17 00:00:00 2001 From: Alexander Schueren Date: Wed, 17 Apr 2024 17:32:13 +0200 Subject: [PATCH] chore(ci): fetch entire history for lerna versioning (#2391) * chore: fetch entire history for lerna versioning * chore: add comment --- .github/workflows/make-version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/make-version.yml b/.github/workflows/make-version.yml index 7440fc92a6..e61652cd03 100644 --- a/.github/workflows/make-version.yml +++ b/.github/workflows/make-version.yml @@ -21,6 +21,7 @@ jobs: uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: ref: ${{ github.ref }} + fetch-depth: 0 # fetch all history, commits and tags, lerna scans it to the last tag and looks at commits, we need all of it to determine the next version - name: Setup NodeJS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: