mirror of
https://github.com/millionco/react-doctor.git
synced 2026-09-14 20:00:24 +08:00
0557145cf3
* fix: check root directory for CI config instead of project count Multi-project scans were unconditionally recommending GitHub Actions even when already existed at the repository root. The logic checked individual project directories for the workflow, which would fail in monorepos where the workflow lives at the root. Fixed by checking whether CI is configured at the root directory (where the scan is running) instead of: 1. Unconditionally for multi-project scans (projectScans.length > 1) 2. Per-project directory checks that miss root-level workflows Closes #1696 Co-authored-by: Skosh <skoshx@users.noreply.github.com> * chore: add changeset for CI recommendation fix Co-authored-by: Skosh <skoshx@users.noreply.github.com> * chore: format code Co-authored-by: Skosh <skoshx@users.noreply.github.com> * fix(cli): measure CI recommendations --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Skosh <skoshx@users.noreply.github.com> Co-authored-by: Aiden Bai <aiden@million.dev>