From 38d49175c8e40318bded22f6ac45845b9c64c495 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Wed, 1 Jul 2026 13:20:27 -0400 Subject: [PATCH] fix(ci): fetch full git history in Promote workflow Lerna publish needs git tags to graduate prerelease packages; the shallow default checkout caused `bad revision 'undefined'` during promote. Co-authored-by: Cursor --- .github/workflows/promote.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 7d85ee4d25f..37b0410786d 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -12,6 +12,8 @@ jobs: - name: Check out project uses: actions/checkout@v4 with: + # Fetch all history for all branches and tags, which is needed for the release script. + fetch-depth: 0 # Pass in an administrator token to get around branch protection. token: ${{ secrets.GH_TOKEN_REDALLEN }}