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 2020-10-02 13:33:20 -07:00
parent fa73561fca
commit 919be9196f
No known key found for this signature in database
GPG Key ID: BE516BA4874DB4D9

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