ci: Fix tests not-running on main (#26613)

Follow-up to #26551 

Fix for tests being skipped on main.
Also fetch less history: [example
run](https://github.com/zed-industries/zed/actions/runs/13822318758/job/38670334893)

Release Notes:

- N/A
21949bcf1aPeter Tripp committed on 3/12/2025, 11:16:23 PM· committed by GitHubparentee7ed6d
1 file changedLine totals unavailable