Dashboardpublishauto-approve sparse checkout

auto-approve sparse checkout

Category: gotcha
Confidence: 1.00
ID: 01a0895a-0b31-7cad-9c1f-9ac3b8c96b81
Project ID: ac098440-8723-4582-9021-39e07a608100
Cross-project: No
Recalled in other projects: 0
Source session: 1INV6ushrYVDng4Os
Created: 2026-09-10 03:26:14
Updated: 2026-09-10 03:26:14

Content

Trap: sparse-checking out only auto-approve-repos.txt looks sufficient because it is the workflow’s policy input, but auto-approve.yml also runs src/publish/record-auto-approval-attestation.js; the absent script fails with MODULE_NOT_FOUND. Fix: include the entry point and its local dependencies in sparse checkout, and test checkout contents—not only textual step ordering.

Move to: