2828 - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2929 with :
3030 persist-credentials : false
31- sparse-checkout : |
32- *
33- !doc/
34- !lib/
35- !.github/
36- !.devcontainer/
37- sparse-checkout-cone-mode : false
3831 - name : Use Node.js ${{ env.NODE_VERSION }}
3932 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4033 with :
5043 - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
5144 with :
5245 persist-credentials : false
53- sparse-checkout : |
54- *
55- !doc/
56- !lib/
57- !.github/
58- !.devcontainer/
59- sparse-checkout-cone-mode : false
6046 - name : Set up Python ${{ env.PYTHON_VERSION }}
6147 uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
6248 with :
7460 with :
7561 fetch-depth : 0
7662 persist-credentials : false
77- sparse-checkout : |
78- *
79- !doc/
80- !lib/
81- !.github/
82- !.devcontainer/
83- sparse-checkout-cone-mode : false
8463 - name : Use Node.js ${{ env.NODE_VERSION }}
8564 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
8665 with :
@@ -119,13 +98,6 @@ jobs:
11998 - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
12099 with :
121100 persist-credentials : false
122- sparse-checkout : |
123- *
124- !deps/
125- !src/
126- !.github/
127- !.devcontainer/
128- sparse-checkout-cone-mode : false
129101 - name : Use Node.js ${{ env.NODE_VERSION }}
130102 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
131103 with :
@@ -220,8 +192,8 @@ jobs:
220192 with :
221193 persist-credentials : false
222194 sparse-checkout : |
223- Makefile
224- tools/pip/
195+ / Makefile
196+ / tools/pip/
225197 *.yml
226198 *.yaml
227199 sparse-checkout-cone-mode : false
@@ -245,7 +217,7 @@ jobs:
245217 with :
246218 persist-credentials : false
247219 sparse-checkout : |
248- tools/lint-sh.mjs
220+ / tools/lint-sh.mjs
249221 *.sh
250222 sparse-checkout-cone-mode : false
251223 - run : shellcheck -V
@@ -270,8 +242,8 @@ jobs:
270242 fetch-depth : 2
271243 persist-credentials : false
272244 sparse-checkout : |
273- tools/lint-pr-url.mjs
274- doc/api/
245+ / tools/lint-pr-url.mjs
246+ / doc/api/
275247 sparse-checkout-cone-mode : false
276248 # GH Actions squashes all PR commits, HEAD^ refers to the base branch.
277249 - run : git diff HEAD^ HEAD -G"pr-url:" -- "*.md" | ./tools/lint-pr-url.mjs ${{ github.event.pull_request.html_url }}
@@ -283,7 +255,7 @@ jobs:
283255 persist-credentials : false
284256 sparse-checkout : |
285257 README.md
286- tools/lint-readme-lists.mjs
258+ / tools/lint-readme-lists.mjs
287259 sparse-checkout-cone-mode : false
288260 - name : Get team members if possible
289261 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