Skip to content

Commit 65bc8c1

Browse files
dlabajcursoragent
andauthored
fix(ci): fetch full git history in Promote workflow (#12535)
Lerna publish needs git tags to graduate prerelease packages; the shallow default checkout caused `bad revision 'undefined'` during promote. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8cabb14 commit 65bc8c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/promote.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
- name: Check out project
1313
uses: actions/checkout@v4
1414
with:
15+
# Fetch all history for all branches and tags, which is needed for the release script.
16+
fetch-depth: 0
1517
# Pass in an administrator token to get around branch protection.
1618
token: ${{ secrets.GH_TOKEN_REDALLEN }}
1719

0 commit comments

Comments
 (0)