From 12989c960086993d839d5f5a9c393d96d941c3a1 Mon Sep 17 00:00:00 2001 From: Mary Marchini Date: Fri, 2 Oct 2020 13:33:20 -0700 Subject: [PATCH] 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. --- .github/workflows/commit-queue.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/commit-queue.yml b/.github/workflows/commit-queue.yml index 6f4affe656c9a1..cca9564f6c873b 100644 --- a/.github/workflows/commit-queue.yml +++ b/.github/workflows/commit-queue.yml @@ -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