From 8e1e5df059d4bb7b186dd8f10f7ac8537acf1d88 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 29 Apr 2020 15:13:30 -0700 Subject: [PATCH] [meta] fix TOC action --- .github/workflows/toc.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index 7f238ff01d..f1cb29bddb 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -10,6 +10,13 @@ jobs: steps: - uses: actions/checkout@v2 + with: + # https://github.com/actions/checkout/issues/217#issue-599945005 + # pulls all commits (needed for lerna / semantic release to correctly version) + fetch-depth: "0" + + # pulls all tags (needed for lerna / semantic release to correctly version) + - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - uses: actions/setup-node@v1 with: node-version: '12.x'