build: fix CQ after latest ncu release

The new behavior of node-core-utils (which fetches the merge commit
instead of fetching the patch files) requires the whole repo to be
cloned, instead of just the last commit.

PR-URL: https://github.com/nodejs/node/pull/35468
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
This commit is contained in:
Mary Marchini authored and Danielle Adams committed 2020-10-06 12:16:02 -04:00
1 parent 95c62a1dca
commit f36476d9d6
1 file changed
+3
+3
View File
@@ -21,6 +21,9 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
# Needs the whole git history for ncu to work
# See https://github.com/nodejs/node-core-utils/pull/486
fetch-depth: 0
# A personal token is required because pushing with GITHUB_TOKEN will
# prevent commits from running CI after they land on master. It needs
# to be set here because `checkout` configures GitHub authentication