Skip to content

Commit f49c502

Browse files
committed
fixup! tools: use sparse-checkout in linter jobs
1 parent 6037c3b commit f49c502

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/linters.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ jobs:
193193
persist-credentials: false
194194
sparse-checkout: |
195195
Makefile
196+
configure.py
197+
src/node_version.h
196198
tools/pip/
197199
*.py
198200
sparse-checkout-cone-mode: false
@@ -253,8 +255,6 @@ jobs:
253255
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
254256
with:
255257
persist-credentials: false
256-
sparse-checkout: .github/CODEOWNERS
257-
sparse-checkout-cone-mode: false
258258
- uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f
259259
with:
260260
checks: files,duppatterns
@@ -280,7 +280,7 @@ jobs:
280280
persist-credentials: false
281281
sparse-checkout: |
282282
README.md
283-
tools/tools/lint-readme-lists.mjs
283+
tools/lint-readme-lists.mjs
284284
sparse-checkout-cone-mode: false
285285
- name: Get team members if possible
286286
if: ${{ (github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch) || github.event.ref == github.event.repository.default_branch }}

0 commit comments

Comments
 (0)