4545 if : github.event_name == 'pull_request'
4646 steps :
4747 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
48+ with :
49+ persist-credentials : false
4850 - name : Fail component changes riding an already-released version
4951 env :
5052 BASE_REF : ${{ github.base_ref }}
9799 run : ${{ steps.filter.outputs.run }}
98100 steps :
99101 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
102+ with :
103+ persist-credentials : false
100104 - name : Classify changed files
101105 id : filter
102106 env :
@@ -200,6 +204,8 @@ jobs:
200204
201205 steps :
202206 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
207+ with :
208+ persist-credentials : false
203209
204210 - name : Verify uv.lock is in sync with pyproject.toml
205211 run : uv lock --check
@@ -243,6 +249,8 @@ jobs:
243249
244250 steps :
245251 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
252+ with :
253+ persist-credentials : false
246254
247255 - name : Check AGENTS.md size
248256 run : |
@@ -264,6 +272,8 @@ jobs:
264272 working-directory : site
265273 steps :
266274 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
275+ with :
276+ persist-credentials : false
267277
268278 - name : Setup Node
269279 uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
@@ -273,9 +283,7 @@ jobs:
273283 cache-dependency-path : site/package-lock.json
274284
275285 - name : Install dependencies
276- run : |
277- npm install --global npm@12.0.2
278- npm ci
286+ run : corepack npm ci
279287
280288 - name : Astro type & diagnostics check
281289 run : npm run check
@@ -304,6 +312,8 @@ jobs:
304312 run : apt-get update -qq && apt-get install -y -qq git >/dev/null 2>&1
305313
306314 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
315+ with :
316+ persist-credentials : false
307317
308318 - name : Install dependencies
309319 run : uv sync --dev
@@ -348,6 +358,8 @@ jobs:
348358
349359 steps :
350360 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
361+ with :
362+ persist-credentials : false
351363
352364 - name : Install dependencies
353365 run : uv sync --dev
@@ -365,6 +377,8 @@ jobs:
365377
366378 steps :
367379 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
380+ with :
381+ persist-credentials : false
368382
369383 - name : Install dependencies
370384 run : uv sync --dev
@@ -407,6 +421,7 @@ jobs:
407421
408422 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
409423 with :
424+ persist-credentials : false
410425 submodules : true
411426
412427 - name : Set up Node.js
@@ -432,9 +447,7 @@ jobs:
432447 # `npm ci` enforces package-lock.json — same reproducibility
433448 # discipline as uv.lock on the Python side. No-op on cache hit
434449 # if node_modules matches the lockfile.
435- run : |
436- npm install --global npm@12.0.2
437- npm ci --prefix tests/js
450+ run : cd tests/js && corepack npm ci
438451
439452 - name : Run unit tests
440453 run : uv run pytest tests/src/unit/ -n auto --tb=short -v
@@ -480,6 +493,7 @@ jobs:
480493 steps :
481494 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
482495 with :
496+ persist-credentials : false
483497 submodules : true
484498
485499 - name : Set up Docker Buildx
@@ -581,6 +595,7 @@ jobs:
581595 steps :
582596 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
583597 with :
598+ persist-credentials : false
584599 submodules : true
585600
586601 - name : Set up Docker Buildx
@@ -678,6 +693,7 @@ jobs:
678693 steps :
679694 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
680695 with :
696+ persist-credentials : false
681697 submodules : true
682698 # fetch-depth 0: the update-path scenario checks the custom component
683699 # out at the released ``stable`` git tag, which the default shallow
@@ -766,6 +782,7 @@ jobs:
766782 steps :
767783 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
768784 with :
785+ persist-credentials : false
769786 submodules : true
770787
771788 - name : Set up Docker Buildx
0 commit comments