From 7eff3cc4cd6534dc4b1e79b4738db9c7ec22cd55 Mon Sep 17 00:00:00 2001 From: Yuya Inoue <65857152+inoway46@users.noreply.github.com> Date: Fri, 23 Oct 2026 21:44:53 +0900 Subject: [PATCH] tools: limit checkout for lint-addon-docs Exclude unused vendored dependencies from the lint-addon-docs checkout to reduce checkout time. Assisted-by: Codex Signed-off-by: inoway46 PR-URL: https://github.com/nodejs/node/pull/66505 Refs: https://github.com/nodejs/node/issues/64972 Reviewed-By: Antoine du Hamel --- .github/workflows/linters.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index a4997b3d4cc..f6945f9df51 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -28,6 +28,10 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false + sparse-checkout: | + /* + !/deps/ + sparse-checkout-cone-mode: false - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: