You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running moon ci --base HEAD~1 in CI with a shallow clone we get the following error:
[ WARN 2024-11-16 19:28:39.780] moon_app::queries::touched_files Detected a shallow checkout, unable to run Git commands to determine touched files.
[ WARN 19:2[8](https://github.com/.../actions/runs/11872654373/job/33086603328#step:4:9):39.780] moon_app::queries::touched_files A full Git history is required for affected checks, falling back to an empty files list.
Gathering touched files
Error: app::ci::no_shallow
× CI requires a full VCS history to operate correctly. Please avoid shallow
│ checkouts.
I'm opening this as a bug rather than a feature request due to the fact that this error contradicts the --base flag.
If we are able to set the base to the last commit we should be able to use it with a shallow clone.
Shallow clones are critical for big monorepos due to the performance improvement they provide.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running
moon ci --base HEAD~1
in CI with a shallow clone we get the following error:I'm opening this as a bug rather than a feature request due to the fact that this error contradicts the
--base
flag.If we are able to set the base to the last commit we should be able to use it with a shallow clone.
Shallow clones are critical for big monorepos due to the performance improvement they provide.
The text was updated successfully, but these errors were encountered: