-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: stop targeting all packages with --since if no changes #637
Conversation
Deployment failed with the following error:
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vercel/turbo-site/BcHRMDZvUL2Rqo4gmp7Rv2NZGGvw |
@jaredpalmer - anything I need to do to merge this? Looks like Kodiak is stuck waiting on checks that need manual approval to run? |
nope, I had to press "approve and run again" |
Current Behavior
If no changes are made to any package,
--since
will target all packages.Expected Behavior
If no changes are made to any package, running
--since
should target no packages.To Reproduce
Branch off of main and attempt a build with
turbo run build --since=main
.Implementation Detail
This PR removes the loop which populates all packages if git diff turns up empty.
@jaredpalmer - let me know if this is currently intended behavior, it's unclear what the original intent of this loop was.