Skip to content

Commit 7eff3cc

Browse files
authored
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 <inoueyuya416@gmail.com> PR-URL: #66505 Refs: #64972 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 5741b0e commit 7eff3cc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/linters.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2929
with:
3030
persist-credentials: false
31+
sparse-checkout: |
32+
/*
33+
!/deps/
34+
sparse-checkout-cone-mode: false
3135
- name: Use Node.js ${{ env.NODE_VERSION }}
3236
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3337
with:

0 commit comments

Comments
 (0)