Skip to content

Commit 8e1e5df

Browse files
committed
[meta] fix TOC action
1 parent e0ed1ea commit 8e1e5df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/toc.yml

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v2
13+
with:
14+
# https://github.com/actions/checkout/issues/217#issue-599945005
15+
# pulls all commits (needed for lerna / semantic release to correctly version)
16+
fetch-depth: "0"
17+
18+
# pulls all tags (needed for lerna / semantic release to correctly version)
19+
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
1320
- uses: actions/setup-node@v1
1421
with:
1522
node-version: '12.x'

0 commit comments

Comments
 (0)